Hi, thank you for your patience.
I modified the configuration and after a couple of hours i can see it has no effect.
There’s something wrong in 2024.5
yes I know. I thought it was initially a network issue because I saw errors in the HA logs, but my linux box tcp monitoring never saw it fail (for months). HA just lost it for some reason. I was busy for a few days and not home so I could not troubleshoot, but it has been stable since upgrading to 2024.5.2.
EDIT: after some tests i can say it does not refresh all the sensor states so it do math always with new l3 value and old l1 and l2 values. On the contrary the template editor engine works correctly.
Changed trigger to
and it seems to have solved the issue.
Before 2024.5 it was working with only l3.
Repeating entity_id: before each sensor does not work, i think the last one overwrites previous ones.
EDIT2: Too soon, it still have some unusual spikes, never did before 2024.5
EDIT3: Checking the history veery closely is clear the template just fires 3 times in the same second, one for each sensor in the trigger, so the first 2 times the value is wrong but it’s stored in the graph and the last is correct and it’s the one i see in the frontend. So before 2024.5 was i simply lucky to use trigger with only sensor l3 as it was the last updated?
Looks like someone added a DoEvents() in the code somewhere before finishing read the full mqtt message…
EDIT4: The last sensor to update now is l1 so the code works exactly as before 2024.5 if i trigger to l1 only, however i don’t think this is the proper way to do things…
I was previously in 2024.3.3 which seemed to work with my sonoff devices. Since the upgrade, after a while, the states stop updating. If I switch the lights on, the state goes back to off but the light remains on and vice versa.
Has anyone else’s Lutron Pico switch button press events stopped working after upgrading to 2024.5? I moved from 4.4 to 5.3 recently and HA stopped taking action on my switch button presses. The button presses show up in the HA Log/History but the Scenes don’t work. I didn’t see any breaking changes called out.
Automations that listen for Pico button presses - no longer work
– Pico button press is registered in HA log
– Manually running the automation (with lights turned on and off) works
– Looks like the automation isn’t triggering anymore. No changes to the Lutron events or my devices as far as I can see?
Automations that listen for Motion sensor events - continue to work fine (motion sensor triggers HA, automation picks up the event and executes)
Thanks @sparkydave – so yes, I think somehow with that automation yaml, I am not getting the Trigger.
I checked Developer Tools > States > event.bedroom_pico_off does exist (as before the upgrade), but I think the same automation yaml is no longer triggering…
I keep getting a notification about a Core update (2024.5.4). When I try and update, however, it doesn’t actually seem to update. I get the notification again shortly after.
EDIT: I should also mention I can’t find anything in the logs at all about an attempted update.
I have HA installed on a docker on an iHost. Prior to the update to the katest version, my HA would show correct status of all lights. Since the update, the states always revert to the previous state. Is there anything I can attach here to get you the information you need?
FYI
Installed 2024.5.4 but having issues with mqtt mosquitto broker. I didn’t have time to look, so rollback ongoing. Seems connect / disconnect directly for all client.