Scheduler card/custom component

@Merangle
Your question/issue is not really clear to me, you shared a lot of pictures, but they don’t give much info to me.
If you think there is a bug with workday/weekend setting, create an issue for it in GitHub of the scheduler-component.

Please share the following information:

  • The attributes of the schedule entity that does not work as you expect
  • History / logbook info of this schedule and the device it should trigger, around the time you expected it to trigger (to show that it skips this time)
  • Are you using the workday integration? If yes, then share its configuration too.
  • Which climate integration are you using?
  • You told me before you are using scripts to combine your climates. Are they related to the issue?

In v1.9.5 I added a small enhancement to editing an existing schedule:
If you click on the displayed entity + action, you will be brought back to the selection panel and you can make changes to the entity and/or action.

I can imagine some of you were missing this functionality (and were forced to remove it and create a new one).
Its a bit of a ‘hidden’ feature because I didn’t want to add extra buttons to the GUI (on mobile phone space is kind of limited).

So here a small guide:


The function preserves the settings for days, time (/timeslots) and all additional options.
If you change the action or entity, the function attempts to preserve your settings (such as temperature), but it may not work (yet) for all scenarios.
I recommend not to try any funny stuff like changing a schedule for a thermostat into a lamp :sweat_smile:

3 Likes

@snoopy1492 please let us know…
I’m still fighting with the same problem since a couple of week.
Generic Thermostat + scheduler = only temp change with no switch action

All other schedules works flawlessly (lights, switches and even my garden sprinklers). Amazing job @neliss

1 Like

Please read my comment about this.
The scheduler doesn’t really have anything to do with it.

It seems quite weird to me that when you update the temperature setpoint, the device stays OFF.
This is a bug/limitation in the generic_thermostat that causes this.
I don’t know if someone already took initiative to have it fixed…

1 Like

nice workaround, thank you!
sorry for the off-topic

OK guys, I haven’t had time to install all the prerequisites to install the dev environment for HA.
(Working from home is a pain, time just flies away)
In the meantime, you’ll find my custom_components at this link.
This is my custom component.
Copy the contents of generic_thermostat to <your config dir>/custom_components/generic_thermostat/ and restart HA. It should now use this version instead of the one included with HA.
Beware, I’m giving this as is. It works for me but could break something (unlikely due to the minimum amount of change I made, but I prefer to err on the side of caution).
And if a change is made to the generic_thermostat in a future update, this custom_component will prevent you from using it until you delete it.

I’ll try to find the time to finish installing a dev environment for HA and push my fix.

2 Likes

Hello snoopy1492,
It works very well !!!
You’re a genius !

1 Like

Hi have a problem, i cannot have my switch to turn on. I tried set a schema and also set a simple time but no action executed. How to debug this? Seems that nothing is wroted.
- type: ‘custom:scheduler-card’
include:
- switch.caldaia
time_step: 1
edit: using HA 0.117.6

Can you go to Developer Tools -> Entities and share the attributes/properties of the switch.schedule_xxxx entity that should operate your switch?

Also, can you check in the History what happens both with the schedule entity and the switch entity at the programmed time?

entries: 0DT1756A0
actions:

  • service: turn_on
    entity: switch.caldaia

next_trigger: 2020-11-14T17:56:00+00:00
friendly_name: Schedule1
icon: mdi:calendar-clock

In the entity history nothing happened

The schedule entity should show as “Triggered” at 17:56, and “Waiting” at other time in your history.
Can you share the history data?

If it did not go to triggered state, the scheduler has crashed and you should check your HA logs.

schedule entity is always in “waiting”. i have to add something to add more debug log? i cannot see anything strange in the log. how can i check if component is up and running?

Are you using a translator? Could you improve your grammar if you can? You don’t need to enable anything special to access the HA logs.

I know how to access ha logs. But there are no exception error or warning regarding schedule-component. This Is why i asked if there was possible to have more debug log or some other way to check if component Is running…

Look at the logger docs on home-assistant.io.

Its a timezone problem. Now its 19.58, i set scheduler ti start at 18.58 and switch starter…

Request:

For lights, it is possible to turns them with a defined brightness on. It would be nice, when this worked for the color. :thinking:

As Example for Philips Hue or other RGB Lights.

Look through the issues, open and closed, and search for “color”.

I’ve downloaded your code. If you want I can create PR with the changes.

1 Like

For everyone who want to know it: Feature request: Color/Light temperature · Issue #115 · nielsfaber/scheduler-card · GitHub

With an action, is a good solution. Thx :ok_hand:t3: