finally got sonoff dual r1 code esphome working as I need

This commit is contained in:
root
2025-06-18 23:12:06 +12:00
parent 4cd88a44a7
commit 23abe209a5
9 changed files with 1039 additions and 325 deletions

View File

@@ -197,13 +197,13 @@ globals:
- id: evening_on
type: int
restore_value: False
initial_value: "${morning_off_default}"
initial_value: "${evening_on_default}"
# Evening Off time (minutes from midnight),
- id: evening_off
type: int
restore_value: true
initial_value: "${morning_off_default}"
restore_value: False
initial_value: "${evening_off_default}"
# Boost Duration (minutes),
- id: boost_duration