Thanks to all of you and especially thanks frenck for all that passion you put into this!!
You can test it the week before, joining the beta
If that bothers you, please file a bug report with pip
, we donāt maintain that software.
Please, if it actually does cause issues, then please raise a bug report. There are quite a few maintainers active on that integration; if it breaks, Iām sure itās being looked at.
its about clarity to the end user. thanks for the responses
@petro today_at() is brilliant! I guess Iāll be busy today simplifying dozens of templates so thanks eh?
(Seriously, thank you!)
I couldnāt get this trigger to fire with now() without the replace(microsecond=0). Is this expected?
trigger:
- platform: template
value_template: >
{{ now().replace(microsecond=0)
== today_at(states('input_datetime.alarm_clock_manual_time')[0:5]) }}
That should work
Edit: you need to replace seconds too if your alarm is HHMM
This template is checking for exact equality. I would expect it to be extremely flaky because now()
only āupdatesā once per minute. For time comparisons you want to either use >
or <
or round it to whole minutes/hours.
Not true, I tested this against all of these checks. His issue is that heās not replacing the seconds.
wow over 50! !
so more than 3.0414093201713378043612608166065e+64
nice, i didnāt know we add so much integrations
XD
okay I will se myself out
Itās been reliably triggering with just microseconds! Iāve been using it for a week or so, I had the beta installed just to try this dandy function out. Maybe Iāve just gotten lucky so far?
the template engine attempts to throttle now to fall on the minute, that doesnāt mean it will always land on the minute exactly. I think youāre getting lucky
but back to your original question, yes youāll need to replace the microseconds because today_at never returns a microsecond.
Point taken, advice will be heeded. Thanks again!
As someone who is new-ish to HA (aka, be kind ;p), is there any way to force a check for updates?
I tried restarting it, but there doesnāt seem to be an update available (running 2021.10.7 currently).
Hats off to all. Another great release!
Special mention for @frenck for all his hard work and progress in fixing the Tuya messā¦weāll get there :). New Environment Canada integration is a huge improvement in performance and reliability.
I put the Icon Picker to use within minutes. What a terrific addition.
Maybe Iāve misunderstood what you said but I recall bdraco nailed now()
down to cause renderings exactly on the minute. Youāre saying thatās not a certainty and might happen after the ātop of the minuteā?
If you do not see that notification you can navigate to the System tab. and click the āReload Supervisorā button.
Just output now() to a template sensor and youāll see a small amount of error, usually microseconds. The slower your system, the further away from the minute youāll be.
Cheers, thanks Iāll try to remember that for the next time
Was really hoping that a built in UI for adding external storage would be out soon. Thatās the one feature that kills HA for me. Maybe next time
Thanks for all your hard work.