Sian-Lee-SA / Home-Assistant-Switch-Manager

Switch manager is a centralised component to handle button pushes for your wireless switches. This includes anything passed through the event bus. The component relies on switch blueprints which is easily made to allow GUI configuration of your switches and their button pushes. This helps remove clutter from the automations.
Other
222 stars 84 forks source link

Service 'Light: Toggle' does not show targets #180

Closed hrw closed 10 months ago

hrw commented 10 months ago

I installed Switch Manager to simplify handling all switches in my HA setup. Now pressing button in one room changes lights in the other room...

Screenshot_20231105_231042

Because 'Targets' option lost all data:

Screenshot_20231105_230510

Yaml:

- service: light.toggle
  data: {}
  target:
    area_id: sypialnia

New automation dialog shows 'Targets' properly and allows to select areas:

Screenshot_20231105_230936

Looks like I have to do most of automations again from scratch ;(

hrw commented 10 months ago

In "Sypialnia" area I have two devices: a bulb and remote.

Screenshot_20231105_231155

Sian-Lee-SA commented 10 months ago

I can't seem to replicate this, also the area id should be a string of hexadecimal characters (unique id).

image

image

hrw commented 10 months ago

Here area_id are names, not hex ids.

hrw commented 10 months ago

I sorted that out in a different ways.