# @todo - Quick and dirty, cant access 'url_for' here because its out of scope somehow
output=f"""<p><strong>Note! A Group tag overrides the restock and price detection here.</strong></p><style>#restock-fieldset-price-group {{ opacity: 0.6; }}</style>"""
f"{watch.get('uuid')} - Change was detected, 'price_change_max' is '{watch.get('price_change_max','')}''price_change_min' is '{watch.get('price_change_min','')}', price from website is '{update_obj['restock'].get('price','')}'.")
f"{watch.get('uuid')} - Change was detected, 'price_change_max' is '{restock_settings.get('price_change_max','')}''price_change_min' is '{restock_settings.get('price_change_min','')}', price from website is '{update_obj['restock'].get('price','')}'.")
logger.trace(f"{watch.get('uuid')}{price} is between {min_limit} and {max_limit}")
ifchanged_detected:
logger.debug(f"{watch.get('uuid')} Override change-detected to FALSE because price was inside threshold")
changed_detected=False
# Price was between min/max limit, so there was nothing todo in any case
logger.trace(f"{watch.get('uuid')}{price} is between {min_limit} and {max_limit}, nothing to check, forcing changed_detected = False (was {changed_detected})")
changed_detected=False
else:
logger.trace(f"{watch.get('uuid')}{price} is NOT between {min_limit} and {max_limit}")
logger.trace(f"{watch.get('uuid')}{price} is between {min_limit} and {max_limit}, continuing normal comparison")