Closed hphd70 closed 2 weeks ago
There is currently no template support for duration. The duration only supports integer for seconds.
It would be possible to add it, but it would act a bit strange. All I can think is that it would use the value of the template when the page first gets rendered. If the template changes during the time the page is displayed, it will be ignored.
(Although I do confirm it's not yet implemented in the integration.)
I have 4 pages configured to display. My thoughts are that I change the duration value in HA, when the last (4th) page is displayed and the first is the next again, the new value will be taken (for all pages).
I am struggling around with following issue: I want to define the duration of the pages with a input_number.
I cannot get this work.
duration: "{{ states('input_number.divoom_duration') }}"
With the following code the value of the variable will be displayed:
But as soon I enter the duration part the page will not be displayed
What I am doing wrong?