Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run Action doesn't work. #421

Open
2 tasks done
nnmalex opened this issue Jan 11, 2025 · 4 comments
Open
2 tasks done

Run Action doesn't work. #421

nnmalex opened this issue Jan 11, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@nnmalex
Copy link

nnmalex commented Jan 11, 2025

Checklist

  • I checked for similar existing issues (both open and closed) before posting.
  • I am running the latest version.

Expected behavior

When my thermostat is switched on manually and the time slot in the scheduler is set to "Off" I expect that running scheduler.run_action on the given schedule would switch the thermostat off.

Actual behavior

Nothing happens - the schedule does not apply manually, and no action is taken.

No events are observed in HA logs.

Steps to Reproduce

A schedule to switch the thermostat on at 9 AM and off at 6 PM.
Schedule switches the thermostat off at 6.
I manually set thermostat on at 7 PM.
I run scheduler.run_action on the schedule in question and nothing happens.

@nnmalex nnmalex added the bug Something isn't working label Jan 11, 2025
@nielsfaber
Copy link
Owner

Please enable debug logging for the scheduler integration and check the HA logs to see what happens within scheduler when you run the action.

@cf-vnkr
Copy link

cf-vnkr commented Jan 18, 2025

Could you please point me to the doc describing how to enable debug for Scheduler? I couldn't find an obvious way to do that. Thanks!

@nielsfaber
Copy link
Owner

nielsfaber commented Jan 18, 2025

See https://www.home-assistant.io/integrations/logger/

This could work

# Example configuration.yaml entry
logger:
  default: info
  logs:
    custom_components.scheduler: debug

@cf-vnkr
Copy link

cf-vnkr commented Jan 18, 2025

Added this to the config, restarted HA, run action - nothing in the logs.
Logs generally do work, I can see other logs. And Scheduler generally does work. Just does nothing when I invoke the action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants