How can I set the switch switch.power_off as group switch, which is automatically generated if I use groups.
Basically - Can I find anywhere a full documentation of the YAML language, which is used by HA. I see a lot of examples in the components & getting started section, but looking for something which is more “complete”.
All of the available service calls can be looked up via the service tab. In the right hand menu in your home assistant instance click the little icon that looks like a remote with a single button and some waves coming out of it.
From there you can pick a domain and service (they are listed on the right side in earlier versions) if you seperate the domain and service with a period you get a service call you can put in a automation.
So…
Domain: homeassistant
Service: turn_off
becomes homeassistant.turn_off
Used in an automation…
- alias: 'Turn Off HA_Rookie Group'
trigger:
platform: sun
event: suset
offset: '-00:15:00'
action:
service: homeassistant.turn_off
entity_id: group.wohnzimmer