Ive just gotten started, but what I like so far is based on node-red but only using HA triggers, functions, and HA call service nodes.
Essentially I use the trigger blocks to schedule my function calls. The function then ignores the inputs entirely and just inspects the variables from home assistant that it cares about, it then sends this output to any devices I want to toggle.
This way, I'm just writing code. This works naturally for me, since it's my day job. But I can use node-red for visually organizing input output tuples, and the debugging data that it shows as things activate.
I also add one manual trigger and one debug output node on each end of the function so I can just run it manually if desired.
So far it's pretty goos, but I'm missing stuff like writing tests, which means I test my functions by turning on/off devices or something which isn't ideal.
Essentially I use the trigger blocks to schedule my function calls. The function then ignores the inputs entirely and just inspects the variables from home assistant that it cares about, it then sends this output to any devices I want to toggle.
This way, I'm just writing code. This works naturally for me, since it's my day job. But I can use node-red for visually organizing input output tuples, and the debugging data that it shows as things activate.
I also add one manual trigger and one debug output node on each end of the function so I can just run it manually if desired.
So far it's pretty goos, but I'm missing stuff like writing tests, which means I test my functions by turning on/off devices or something which isn't ideal.