Idk
This commit is contained in:
@@ -480,7 +480,7 @@ async def on_new_alert(alert: Alert):
|
||||
# Send the alert to the lora device
|
||||
payload = payloads.lora_new_alert(alert)
|
||||
print(f"[Alert Handling] Sending alert to LoRa device: {payload}")
|
||||
if lora.send_reliable(payload):
|
||||
if lora.send_reliable(payload, max_retries=7):
|
||||
microwave_states["2"].set_cooking_state(CookingStates.ALERT)
|
||||
|
||||
# --- HARDWARE CONTROLLERS ---
|
||||
|
||||
Reference in New Issue
Block a user