rianadon / timer-bar-card

A progress bar display for Home Assistant timers
Other
340 stars 15 forks source link

TOD binary sensor like timer entity #135

Closed SAOPP closed 3 months ago

SAOPP commented 3 months ago

Hi!

I tried the progress bar to be shown based on my existing binary sensor, which is turned off from 05:00 to 23:00 - is this possible?

  - platform: tod
    name: tod_timer
    after: '23:00'
    before: '05:00'
SAOPP commented 3 months ago

Oh, I think I done, like this:

          - entity: binary_sensor.tod_timer
            active_state: 'off'
            end_time:
              attribute: next_update

So it's must be closed.