1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-03 11:52:20 +01:00

Add Factory Reset button and switch (#3724)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
anatoly-savchenkov
2022-09-12 01:23:46 +03:00
committed by GitHub
parent 790280ace9
commit 9a5f865eea
13 changed files with 198 additions and 3 deletions

View File

@@ -2178,6 +2178,8 @@ switch:
name: Living Room Restart
- platform: safe_mode
name: Living Room Restart (Safe Mode)
- platform: factory_reset
name: Living Room Restart (Factory Default Settings)
- platform: shutdown
name: Living Room Shutdown
- platform: output

View File

@@ -1529,6 +1529,9 @@ button:
target_mac_address: 12:34:56:78:90:ab
name: wol_test_1
id: wol_1
- platform: factory_reset
name: Restart Button (Factory Default Settings)
cd74hc4067:
pin_s0: GPIO12