3 ms·
I like the architecture of HA as well, but is there a way to use the HA level interface but making it program driven, as opposed to config-driven? I know pytho
by oh_sigh 9y ago
I like the architecture of HA as well, but is there a way to use the HA level interface but making it program driven, as opposed to config-driven?
I know python...I don't know all of the config variables for the yaml language they encourage you to write
- sdague 9y agoThat's what the AppDaemon project is about - https://home-assistant.io/docs/ecosystem/appdaemon/ https://home-assistant.io/docs/ecosystem/appdaemon/ - it let's you do the automation rules inside code instead of inside yaml. You'll still need/want yaml for basic device connections and grouping, but doing complex automations can be done easier in AppDaemon.
- Klathmon 9y agoThey recently introduced "straight python" components i believe, so you can just write in that. Additionally there are multiple apis you can use to interface other than the front end at https://home-assistant.io/developers/api/ https://home-assistant.io/developers/api/ Also the HA front end just calls those backend apis, so if you "emulated" those you could use it as a drop in for some other backend (in theory)
- oh_sigh 9y agoThanks, I'll check that out!