Higher debug cooking params
This commit is contained in:
@@ -259,8 +259,8 @@ async def request_cloud_cooking_plan(microwave_id, sensors_data):
|
|||||||
cloud_alert = False # Reset alert flag on success
|
cloud_alert = False # Reset alert flag on success
|
||||||
microwave_states[microwave_id] = MicrowaveState.COOKING
|
microwave_states[microwave_id] = MicrowaveState.COOKING
|
||||||
if config.DEBUG:
|
if config.DEBUG:
|
||||||
c_time = 10 # Limit to 10s for debug
|
c_time = 20 # Set to 20s for debug
|
||||||
c_temp = 50 # Limit to 50°C for debug
|
c_temp = 50 # Set to 50°C for debug
|
||||||
mqtt_client.publish(
|
mqtt_client.publish(
|
||||||
config.MQTT_TOPIC_COOKING,
|
config.MQTT_TOPIC_COOKING,
|
||||||
payloads.mqtt_cooking_config(microwave_id, c_time, c_power, c_temp),
|
payloads.mqtt_cooking_config(microwave_id, c_time, c_power, c_temp),
|
||||||
|
|||||||
Reference in New Issue
Block a user