nielsfaber / scheduler-component

Custom component for HA that enables the creation of scheduler entities
GNU General Public License v3.0
675 stars 45 forks source link

Schedule switch not activated when switch toggle target is a label #368

Closed xkalib3r closed 2 months ago

xkalib3r commented 4 months ago

Hi

Thanks for the wonderful integration! It really does come in handy.

I have been consolidating a number of my automations to clean things up and have been using lables on devices and automations to do so.

One of these automations needs to either turn on or off a schedule. To do this, I need to call the switch service and point it to devices with a particluar label (See example blow)

action:

I have of course confirmed that the schedule in this case has the above mentioned label associated with it.

Expected behavior

When above action is performed, schedule should turn off.

Actual behavior

Nothing happens.

Steps to Reproduce

  1. Configued this action in automations but the schedule switch does not toggle
  2. Tried to trigger this via the Services dev tool - Nothing happens on trigger
  3. Confirmed that other normal switch entities respond when they are assigned the same label.

Hope that all makes sense, please let me know if you have any questions or if I can test anything further.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days