Refine tap_dial to include code for lights and switches. Add additional options to apps.yaml

Co-authored-by: John Lancaster <jsl12@users.noreply.github.com>
This commit is contained in:
Jim Lancaster
2025-01-08 18:22:03 -06:00
parent 6038d0d405
commit e31b2ad4f3
2 changed files with 86 additions and 39 deletions

View File

@@ -2,20 +2,39 @@ hello_world:
module: hello
class: HelloWorld
my_tap_dial:
ManCaveLights:
module: tap_dial
class: TapDial
entity: sensor.tap_dial_action
entity: sensor.tapdial01_action
init_brightness: 200
max_brightness: 254
step_size: 25
button1: light.stick_lamp
button2: light.wet_bar
button3: light.monkey_lamp
button4: light.kitchen_candlelabra
# button4: light.kitchen_candlelabra
# device: tapdial01
piano_button:
LivingRoomLights:
module: tap_dial
class: TapDial
entity: sensor.tapdial02_action
init_brightness: 200
max_brightness: 254
step_size: 25
button1: light.living_room_lamps
button2: light.living_room_floodlights
button3: light.living_room_spot
button4: switch.christmas_tree
button02:
module: button_switch
class: AqaraSwitch
button: sensor.button02_action
switch: switch.keyboards
# action: double
my_timer:
module: timer
class: TimerClass
on_time: '18:00:00'
light: light.wet_bar