Hi, I’m a newbie to HA. I want to switch between 2 scenes by using Aqara Zigbee Button using an automation. I’m trying to setup using input_select.select_next but I keep getting “Invalid config for [automation]: required key not provided” error.
Here is my configuration.yaml
input_select:
bedroomlights:
name: Bedroom Light Switch Select
options:
- on
- off
initial: on
icon: mdi:lightbulb
and in automations.yaml
- alias: Bedroom Lights On
trigger:
- platform: state
entity_id: input_select.bedroomlights
to: on
action:
- service: scene.turn_on
entity_id: scene.normal
- alias: Bedroom Lights Off
trigger:
- platform: state
entity_id: input_select.bedroomlights
to: off
action:
- service: scene.turn_on
entity_id: scene.master_off
- id: '1583839323446'
alias: Turn on Bedroom Lights
trigger:
- platform: device
domain: mqtt
device_id: 7961f2fef135a195d81e43581a1f6acc
type: action
subtype: single
discovery_id: 0x00158d0006332507 action_single
action:
- service: input_select.select_next
data: {}
entity_id: input_select.bedroomlights
mode: single
Any help would be appreciated.