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

Daily Schedule #80

Closed
igorsantos07 opened this issue May 19, 2023 · 1 comment
Closed

Daily Schedule #80

igorsantos07 opened this issue May 19, 2023 · 1 comment

Comments

@igorsantos07
Copy link
Contributor

igorsantos07 commented May 19, 2023

Integration name and link
Daily Schedule - https://github.com/amitfin/daily_schedule

This is similar to the main Schedule integration, but it allows you to set a binary_sensor which turns on during the configured time slots (and thus, active_state must be off, as shown below).

For instance, I use 1min slots throughout the day to feed my cats, triggering a specific amount of food to be dispensed 😸 (not for a whole minute lol)
image

Your card configuration

type: custom:timer-bar-card
entity: binary_sensor.racao
active_state: 'off'
end_time:
  attribute: next_toggle # was `next_update` until 1.4.x

Caveats
Maybe the fact I didn't bother configuring what happens when the sensor is on, since it's just a single minute in my scenario? I guess I should configure something like pause or waiting state, but...

@rianadon
Copy link
Owner

Perfect! Thank you @igorsantos07! It's cool to see the card used with a scheduling integration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants