This is my first post. I found HA after recently buying some hue lights and writing a simple python script to check the weather and turn on my lights different colours depending on the weather.
To start with I would like to recreate the same functionality as my Python script in HA.
I would like to know the process you follow to design/create a new automation/script. I am particularly interested in understanding an easy way to find out what properties entities have/can have.
I am really excited with all the possibilities especially with all the talented people that seem to be involved with HA.
For third party API it’s pretty much the same but instead of dev tools I have to use google most of the time (due to the lack of dev tools in software besides HA)
Thanks for both your replies. I have a few things to start investigating!
What seems to be missing is somthing in between development documentation and examples. There seem to be lots of examples but I dont seem to find any detailed explainations of what each part of the example means. I may not have searched enough
For example:
I dont see any reference to any entity (such as a tracker) that I would have thought could have the state: ‘home’ and no explaination as to why its there.
condition:
condition: state
entity_id: group.all_devices
state: 'home'
Thanks for the info. That sounds interesting, I might investigate to see which is the the least frustrating to get going! I don’t have much experience with Python.