blue_room to boys_room

This commit is contained in:
CeeWeasel
2025-10-10 20:24:52 -04:00
parent 10e297961b
commit 5b688e7c78
382 changed files with 8674 additions and 8739 deletions
@@ -75,39 +75,39 @@ blueprint:
mode: single
max_exceeded: silent
variables:
device_id: !input 'ge_jasco'
device_id: !input "ge_jasco"
trigger:
- platform: event
event_type: zwave_js_value_notification
condition: '{{ trigger.event.data.device_id == device_id }}'
- platform: event
event_type: zwave_js_value_notification
condition: "{{ trigger.event.data.device_id == device_id }}"
action:
- variables:
property_key_name: '{{ trigger.event.data.property_key_name }}'
label: '{{ trigger.event.data.label }}'
command_class_name: '{{ trigger.event.data.command_class_name }}'
value: '{{ trigger.event.data.value }}'
- service: logbook.log
data:
name: 'Z-Wave JS'
message: 'received event: {{ command_class_name }} - {{ value }} - {{ label }}'
- choose:
- conditions: '{{ property_key_name == ''001'' and value == ''KeyPressed'' }}'
sequence: !input 'tap_1x_up'
- conditions: '{{ property_key_name == ''002'' and value == ''KeyPressed'' }}'
sequence: !input 'tap_1x_dn'
- conditions: '{{ property_key_name == ''001'' and value == ''KeyPressed2x'' }}'
sequence: !input 'tap_2x_up'
- conditions: '{{ property_key_name == ''002'' and value == ''KeyPressed2x'' }}'
sequence: !input 'tap_2x_dn'
- conditions: '{{ property_key_name == ''001'' and value == ''KeyPressed3x'' }}'
sequence: !input 'tap_3x_up'
- conditions: '{{ property_key_name == ''002'' and value == ''KeyPressed3x'' }}'
sequence: !input 'tap_3x_dn'
- conditions: '{{ property_key_name == ''001'' and value == ''KeyHeldDown'' }}'
sequence: !input 'up_btn_hld'
- conditions: '{{ property_key_name == ''001'' and value == ''KeyReleased'' }}'
sequence: !input 'up_btn_rel'
- conditions: '{{ property_key_name == ''002'' and value == ''KeyHeldDown'' }}'
sequence: !input 'dn_btn_hld'
- conditions: '{{ property_key_name == ''002'' and value == ''KeyReleased'' }}'
sequence: !input 'dn_btn_rel'
- variables:
property_key_name: "{{ trigger.event.data.property_key_name }}"
label: "{{ trigger.event.data.label }}"
command_class_name: "{{ trigger.event.data.command_class_name }}"
value: "{{ trigger.event.data.value }}"
- action: logbook.log
data:
name: "Z-Wave JS"
message: "received event: {{ command_class_name }} - {{ value }} - {{ label }}"
- choose:
- conditions: "{{ property_key_name == '001' and value == 'KeyPressed' }}"
sequence: !input "tap_1x_up"
- conditions: "{{ property_key_name == '002' and value == 'KeyPressed' }}"
sequence: !input "tap_1x_dn"
- conditions: "{{ property_key_name == '001' and value == 'KeyPressed2x' }}"
sequence: !input "tap_2x_up"
- conditions: "{{ property_key_name == '002' and value == 'KeyPressed2x' }}"
sequence: !input "tap_2x_dn"
- conditions: "{{ property_key_name == '001' and value == 'KeyPressed3x' }}"
sequence: !input "tap_3x_up"
- conditions: "{{ property_key_name == '002' and value == 'KeyPressed3x' }}"
sequence: !input "tap_3x_dn"
- conditions: "{{ property_key_name == '001' and value == 'KeyHeldDown' }}"
sequence: !input "up_btn_hld"
- conditions: "{{ property_key_name == '001' and value == 'KeyReleased' }}"
sequence: !input "up_btn_rel"
- conditions: "{{ property_key_name == '002' and value == 'KeyHeldDown' }}"
sequence: !input "dn_btn_hld"
- conditions: "{{ property_key_name == '002' and value == 'KeyReleased' }}"
sequence: !input "dn_btn_rel"