You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is my first bug report so apologies if I misplaced or did something else wrong. I am extremely grateful for all the work going into Home Assistant.
When writing a template for an automation using a ScheduIe helper I was debugging using Developer tools -actions. This returns as a template response variable the following:
{% set schedules = {"schedule.boiler_schedule":{"monday":[{"from":"09:00:00","to":"20:00:00"}],"tuesday":[{"from":"09:00:00","to":"20:00:00"}],"wednesday":[{"from":"09:00:00","to":"20:00:00"}],"thursday":[{"from":"09:00:00","to":"20:00:00"}],"friday":[{"from":"09:00:00","to":"20:00:00"}],"saturday":[{"from":"09:00:00","to":"20:00:00"}],"sunday":[{"from":"09:00:00","to":"20:00:00"}]}} %}
So to my eye it seems that the Developer tools -actions route provides strings, when the method via actions provides datetime.time type variables. Obviously this matters in downstream coding which is why I picked this up.
It may be the expected behaviour but for me it was a surprise and I could not find any reports on it.
What version of Home Assistant Core has the issue?
core-2025.4.4
What was the last working version of Home Assistant Core?
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (schedule) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of schedule can trigger bot actions by commenting:
@home-assistant close Closes the issue.
@home-assistant rename Awesome new title Renames the issue.
@home-assistant reopen Reopen the issue.
@home-assistant unassign schedule Removes the current integration label and assignees on the issue, add the integration domain after the command.
@home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
@home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
The problem
This is my first bug report so apologies if I misplaced or did something else wrong. I am extremely grateful for all the work going into Home Assistant.
When writing a template for an automation using a ScheduIe helper I was debugging using Developer tools -actions. This returns as a template response variable the following:
{% set schedules = {"schedule.boiler_schedule":{"monday":[{"from":"09:00:00","to":"20:00:00"}],"tuesday":[{"from":"09:00:00","to":"20:00:00"}],"wednesday":[{"from":"09:00:00","to":"20:00:00"}],"thursday":[{"from":"09:00:00","to":"20:00:00"}],"friday":[{"from":"09:00:00","to":"20:00:00"}],"saturday":[{"from":"09:00:00","to":"20:00:00"}],"sunday":[{"from":"09:00:00","to":"20:00:00"}]}} %}
When I use the same call in an automation:
I get the following respose (snippet):
So to my eye it seems that the Developer tools -actions route provides strings, when the method via actions provides datetime.time type variables. Obviously this matters in downstream coding which is why I picked this up.
It may be the expected behaviour but for me it was a surprise and I could not find any reports on it.
What version of Home Assistant Core has the issue?
core-2025.4.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Schedule
Link to integration documentation on our website
https://www.home-assistant.io/integrations/schedule/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: