Skip to content

Commit

Permalink
🔧 Changed restore_state to restore_mode
Browse files Browse the repository at this point in the history
As changed in esphome/esphome#5106
  • Loading branch information
dvandonkelaar authored Jul 19, 2023
1 parent 7bc9ec9 commit 5a9ca52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tagreader.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ switch:
id: buzzer_enabled
icon: mdi:volume-high
optimistic: true
restore_state: true
restore_mode: RESTORE_DEFAULT_ON
entity_category: config
- platform: template
name: "${friendly_name} LED enabled"
id: led_enabled
icon: mdi:alarm-light-outline
optimistic: true
restore_state: true
restore_mode: RESTORE_DEFAULT_OFF
entity_category: config

# Define buttons for writing tags via HA
Expand Down

0 comments on commit 5a9ca52

Please sign in to comment.