Hi, I’m new to Home Assistant; barely a few days and am blown away by the framework and integration this tool offers. However i’m at a sticking point and wondered if anyone would be so kind to help.
I basically am wanting to set the state of a new entity I created based on a time event, ideally 2 times each day. however in this example have used just one time event until I understand the basics.
1)The entity doesn’t exist as there’s no integration at current hence created a dummy entity by opening states and manually typing in the entity name blinds.test , then setting the state to open.
I then edited the configuration.saml and added the line automation: !include automations.yaml
I then selected automation and created a simple routine to update the entity state to closed.
This created the following code in my automations.yaml file.
- id: '1557867311208'
- at: '22:25:00'
I then checked validated the config and restarted the server.
The first thing I noticed was that my Entity had vanished after the restart, therefore recreated the blinds.test again manually. however when the time reached 19:30 the entity state remained as ‘Open’ and not ‘Closed’ as I expected.
I’ve obviously missed a few steps or gone about the the wrong way, would really appreciate if someone could please explain how this should be done.
Thank you in advance.