diff --git a/config/lovelace/advanced_dashboard/08_automations.yaml b/config/lovelace/advanced_dashboard/08_automations.yaml index cfaf6e0..d802b5f 100644 --- a/config/lovelace/advanced_dashboard/08_automations.yaml +++ b/config/lovelace/advanced_dashboard/08_automations.yaml @@ -212,7 +212,7 @@ cards: icon: mdi:light-switch entities: - automation.wallmote_living_room_1_tap_toggle_lights - - automation.wallmote_living_room_1_hold_dim_lights + - automation.wallmote_living_room_1_toggle_pc_light - automation.wallmote_living_room_2_tap_toggle_music - automation.wallmote_living_room_2_hold_play_music - automation.wallmote_living_room_3_tap_toggle_main_lights diff --git a/config/packages/devices/living_room/wallmote.yaml b/config/packages/devices/living_room/wallmote.yaml index b777bbb..e07b14b 100644 --- a/config/packages/devices/living_room/wallmote.yaml +++ b/config/packages/devices/living_room/wallmote.yaml @@ -12,7 +12,7 @@ automation: - service: light.toggle entity_id: light.living_room - - alias: Wallmote · Living room · 1 · Hold · Dim lights + - alias: Wallmote · Living room · 1 · Toggle · PC Light trigger: platform: event event_type: zwave.scene_activated @@ -22,16 +22,8 @@ automation: scene_id: 1 scene_data: 1 action: - - service: light.turn_on - entity_id: light.living_room - data_template: - brightness: > - - {% if state_attr('light.living_room_main', 'brightness') < 255 %} - 255 - {% else %} - 120 - {% endif %} + - service: light.toggle + entity_id: light.pc - alias: Wallmote · Living room · 2 · Tap · Toggle Music trigger: