Re:Home Assistant 2023.11
by SingularCrane on Thursday November 02, 2023 @10:17AM
(#38113833)
I ditched the built-in YAML automations for AppDaemon a while ago and have no regrets.
Re:Home Assistant 2023.11
by soitgoes511 on Thursday November 02, 2023 @01:27PM
(#38117042)
I really appreciate both HA and ESPHome. The only gotcha I have encountered with ESPHome involved lost data with higher sampling rates (1 sample/0.2 second). To this day I am not sure what the issue was. I had better results with arduino framework vs esp-idf. Apart from that, it really does make spinning up a new sensor so easy and the OTA updates are excellent.
For automations, check out pyscript, https://hacs-pyscript.readthedocs.io/en/latest/
You can just write decorated functions in python.
Quite often I feel frustrated dealing with dozens of lines of YAML in HA's convoluted DSL and wish I could drop to a real programming language. However, for the ESP/embedded devices, it's usually the opposite. ESPHome makes it easy to avoid all the boilerplate and footguns of the C++ libraries for these devices