Skip to content

Commit

Permalink
Replace restore_state with restore_mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesSwift authored Jul 26, 2023
1 parent 559e5c6 commit a5b5e3a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions localbytes-plug-pm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ esphome:
# configuration and updates.
project:
name: localbytes.plug-pm
version: "1.6.1"
version: "1.6.2"

esp8266:
board: esp01_1m
Expand Down Expand Up @@ -155,7 +155,7 @@ switch:
name: "Disable LED"
id: disable_led
icon: "mdi:led-variant-off"
restore_state: true
restore_mode: RESTORE_DEFAULT_OFF
optimistic: true
on_turn_on:
#Flash twice
Expand Down Expand Up @@ -191,8 +191,8 @@ switch:
- platform: template
name: "Disable Button"
id: disable_button
icon: "mdi:toggle-switch-off-outline"
restore_state: true
icon: "mdi:toggle-switch-off-outline"
restore_mode: RESTORE_DEFAULT_OFF
optimistic: true
on_turn_on:
#Flash thrice
Expand Down

0 comments on commit a5b5e3a

Please sign in to comment.