Associate
Any custom code I add is usually just copying from someone else who has already done it. I'm guessing there will be guides on how to add it as it's a popular make.
I have the custom code written by another poster, i also now have studio code installed in Ha… i just need to now know where to put the code and the automation within the studio code.Any custom code I add is usually just copying from someone else who has already done it. I'm guessing there will be guides on how to add it as it's a popular make.
Awesome reef….. i will take a look at this when im back up in my office tmrw. I only use an ipad in the lounge and i stay out of the office after 3pm.
I believe it is automatically generated (but could be wrong). On mine each automation has a unique ID in automations.yaml. I guess as long as each one is unique it doesn't really matter what it is.
yes i have generated them, im asking do i need to do anythign else after i have put the sensors and automation into HA.... do i press run or save or something elseWhat do you want to do? From what I can see, sensors have been created for you to use and/ or display on your dashboard. It’s upto you how you use the data generated by the sensors
im just doing the restart now - will check in a few minutesHave you restarted home assistant? Go to Settings > System > Restart (button in top right corner)
If it has worked, when you go into Settings > Automations and Scenes, the automation should be listed there and it will tell you when it was last triggered.
its telling me i have and indentation on automation line 9 - its the action:shell_command.pvoutput.curl - it doesnt like the indentation after action:Have you restarted home assistant? Go to Settings > System > Restart (button in top right corner)
If it has worked, when you go into Settings > Automations and Scenes, the automation should be listed there and it will tell you when it was last triggered.
i did that and it gave me a bad command indentation errorYou need a space between action: and shell_command.pvoutputcurl on line 9.
action:
- service: shell_command.pvoutputcurl
data: {}
mode: single