rianadon/timer-bar-card

Daily Schedule

igorsantos07 opened this issue · 1 comments

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...

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