Skip to content

Commit

Permalink
Fix ESPHome 2023.12 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaspence committed Dec 21, 2023
1 parent 816287c commit 8f3551e
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions esphome/devices/upsy_desky.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ packages:
board: 'esp32dev'

esphome:
min_version: '2023.12.0'
on_boot:
then:
button.press: 'wakeup'
Expand Down Expand Up @@ -41,20 +42,28 @@ sensor:

output:
- platform: 'gpio'
pin: 'GPIO21'
pin:
number: 'GPIO21'
allow_other_uses: true
id: 'desk_up'
inverted: true
- platform: 'gpio'
pin: 'GPIO22'
pin:
number: 'GPIO22'
allow_other_uses: true
id: 'desk_down'
inverted: true

- platform: 'gpio'
pin: 'GPIO21'
pin:
number: 'GPIO21'
allow_other_uses: true
id: 'button_bit1'
inverted: true
- platform: 'gpio'
pin: 'GPIO22'
pin:
number: 'GPIO22'
allow_other_uses: true
id: 'button_bit2'
inverted: true
- platform: 'gpio'
Expand Down

0 comments on commit 8f3551e

Please sign in to comment.