Skip to content

Commit

Permalink
Fix restore_state
Browse files Browse the repository at this point in the history
  • Loading branch information
EverythingSmartHome committed Jul 19, 2023
1 parent c7de428 commit e0353c7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions everything-presence-one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ substitutions:
name: "everything-presence-one"
friendly_name: "Everything Presence One"
project_name: "Everything Smart Technology.Everything Presence One"
project_version: "1.1.4"
project_version: "1.1.5"
temperature_offset: "-3"
humidity_offset: "5"
temperature_update_interval: "60s"
Expand Down Expand Up @@ -153,7 +153,7 @@ switch:
disabled_by_default: True
entity_category: config
optimistic: true
restore_state: true
restore_mode: RESTORE_DEFAULT_ON
turn_on_action:
- uart.write: "sensorStart"
- delay: 1s
Expand All @@ -167,7 +167,6 @@ switch:
entity_category: config
internal: ${uart_presence_output_disabled}
optimistic: true
restore_state: true
turn_on_action:
- switch.turn_off: mmwave_sensor
- delay: 1s
Expand All @@ -191,7 +190,6 @@ switch:
entity_category: config
internal: ${uart_target_output_disabled}
optimistic: true
restore_state: true
assumed_state: false
turn_on_action:
- switch.turn_off: mmwave_sensor
Expand Down Expand Up @@ -341,4 +339,4 @@ button:
- delay: 1s
- uart.write: "resetCfg"
- delay: 3s
- switch.turn_on: mmwave_sensor
- switch.turn_on: mmwave_sensor

0 comments on commit e0353c7

Please sign in to comment.