fix(rs485): hardcode inverter online timeout to 5s to avoid substitution errors

This commit is contained in:
fahmula committed 2025-08-02 13:22:38 -04:00
1 parent 941fcbf9f2
commit 444c2fbf33
1 file changed
+1 -1
+1 -1
View File
@@ -158,7 +158,7 @@ binary_sensor:
name: "${name} ${rs485_name} Inverter Online"
lambda: |-
// Inverter is online if last update was within timeout period
return (millis() - id(rs485_inverter_ack_ms_previous)) < (${rs485_update_timeout} * 1000);
return (millis() - id(rs485_inverter_ack_ms_previous)) < 5000;
entity_category: diagnostic
interval: