nielsfaber / scheduler-component

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

triggering service through automations, changing day schedule #321

Closed PpyuWuLRmagJnLiQ closed 8 months ago

PpyuWuLRmagJnLiQ commented 8 months ago

Hello,

I would like to use the Home Assistant's own automations to change the switching on of schedules of the scheduler. This works great, but I'm failing with more complicated daily schedules. I can set weekdays and weekends, but I want to include Friday in the weekend, for example. So I assumed that I could call up the Scheduler service in the automation and enter the days there either separated by commas or in separate lines. Unfortunately, this does not work, but throws an error. How can I transfer these day lists?

Many thanks and best regards, Christian

Checklist

Expected behavior

Transmitting mon, tue, wed, thu and seeing the scheduler changing accordingly

Actual behavior

setting changed to full week, error in trace

Steps to Reproduce

id: '1703500119195' alias: 'Bewohnt: Wechselt zu Arbeit' description: '' trigger:

PpyuWuLRmagJnLiQ commented 8 months ago

turns out it's quite simply:

- mon
- tue
- wed