diff --git a/blueprints/automation/inovelli_mode_cycling.yaml b/blueprints/automation/inovelli_mode_cycling.yaml index 75c093e..01e4cf4 100644 --- a/blueprints/automation/inovelli_mode_cycling.yaml +++ b/blueprints/automation/inovelli_mode_cycling.yaml @@ -22,13 +22,12 @@ blueprint: description: Press config button to cycle through lighting modes with LED feedback domain: automation input: - switch_action_sensor: - name: Switch Action Sensor - description: The sensor entity that reports button presses (sensor.xxx_action) + switch_action_event: + name: Switch Action Event + description: The event entity that reports button presses (event.xxx_action) selector: entity: - domain: sensor - integration: mqtt + domain: event mode_input_select: name: Mode Input Select @@ -54,9 +53,11 @@ mode: single max_exceeded: silent trigger: - - platform: state - entity_id: !input switch_action_sensor - to: "config_single" + - platform: event + event_type: state_changed + event_data: + entity_id: !input switch_action_event + new_state.state: "config_single" action: - variables: