Hi , I’m working to get my Lutron Aurora working as a volume control. I have tried working off some other Blueprints but can’t seem to get it going. I’m new to HA and just learning so forgive any large oversights. Thanks oh I’m using a cornbee II
alias: testing
description: ‘’
trigger:
- platform: event
event_type: zha_event
event_data:
device_id: e8cc7a8b2a2c873b9526aa630ba7325e
action: - variables:
sensitivity_input: 3
sensitivity: |
{% if sensitivity_input == “3” %}
1
{% elif sensitivity_input == “2” %}
5
{% else %}
15
{% endif %}
command: ‘{{ trigger.event.data.command }}’
volume_level: >-
{{ (trigger.event.data.args[0]|int) / (sensitivity|int) *
(sensitivity|int) }} - choose:
- conditions:
- condition: template
value_template: ‘{{ command == ‘‘move_to_level_with_on_off’’ }}’
sequence: - service: media_player.volume_set
target:
entity_id: media_player.living_room_lg_tv
data:
volume_level: 0.71
mode: restart
max_exceeded: silent
- condition: template
- conditions: