I don’t use MQTT, so I’m not as familiar with it. But, at least in theory, all events that can be detected using a new style device type trigger should be able to be done with the more traditional type of trigger, too. Once you figure out how to substitute you current trigger with the one I referenced, then you can use the trigger variable I also referenced in my last reply. Something like:
after updating to 113.2 just now, the first thing I hear is quite disheartening. the template that has been working for ages all of a sudden makes the tts speak %20 on each space in:
- service: script.intercom_message
data_template:
message_en: >
Good {{states('sensor.part_of_day')}}, Home-assistant Rpi4 is back up and running since
{{as_timestamp(now())|timestamp_custom('%d %b %X')}} and it is
{{states('sensor.temp_current')}} degrees.
has anything changed that might have caused this? Ive tried it in various languages, but the result is the same.
Have you tried it without a template and just hardcoded text, to see if it is actually the template that’s the issue? TTS to my Alexa devices is working fine via the custom Alexa Media Player notify platform with and without templates, so it may be that it is nothing to do with the template and something to do with the Google TTS platform (if that’s what you’re using).
I updated to 113.1 on sunday successfully. Everythings running smooth. But I do not have any issue logs since then. Even failing scripts during development haven’t been added. Yesterday I had an entry in homeassistant.log regarding a depricated configuration entry but it wasn’t shown in the frontend. Has anything been changed in handling of log entries?
Yeah thanks. Saw the GitHub issue.
Haven’t tried it without template yet, but seems the issue is clear, so I’ll wait it out for now.
Hope the devs fix this per 113.3 …
I usually wait till the weekend to do an update so if I need to fix anything I’ve got plenty of time. This time, however, I did the update on a weeknight and everything broke! HA was starting up but nothing was loading. To make matters worse my wife’s sister was staying with us for a couple of days. I lost a lot of WAF when they couldn’t turn the tv or the lights on!
I narrowed it down to my sensor.yaml file and then went through them all one at a time. The problem ended up being that I had a sensor with a scan interval set to .1 (dont ask). Have now changed it to:
then an automation which switches the lights when the state switches from 0 to 1. The faster the scan interval the less I have to hold the press switch down!