

The same method would be used to reference a switch. If you wish to edit the entity_id or friendly name you can do so in the integrations menu found on the supervisor menu. The friendly name serves as a reference for us but is not used by the code. Home Assistant also allows us to assign a friendly name to objects, which is more human readable. If in doubt just stick to numbers, letters and use an underscore “_” for a space. This name needs to be compatible with the Home Assistant programming, therefore it does not contain spaces or exotic characters that may disrupt the programming. Entities are grouped by their type, for example all lights are grouped into the light entity category and switches are grouped into the switch entity category.Įach entity has a name that Home Assistant uses for reference called the entity_id. You should also have an understanding of what an entity is in Home Assistant, so I will cover it here briefly.Īn entity is the terminology used to describe an object within Home Assistant. Once installed you should see the file editor option appear in the sidebar.

HOW DO I TURN OFF LIGHT LOGGER INSTALL
Scroll down the page and find the file editor plug in, click on it and click install to add the plugin. We will also be using the file editor add-on so if you didn’t install it yet go ahead and click the Supervisor button on the side bar, then click the add-on store tab at the bottom of the page. You will of course need Home Assistant installed and running. You may also want to add a delay between these events, for example all the lights turn off a couple of minutes after you turn the TV off, giving you time to leave the living room and not be plunged into darkness! Or perhaps you would like the bedroom light and heating to switch on in the morning when the temperature is colder than 10 degrees celsius and the sun has not risen?
HOW DO I TURN OFF LIGHT LOGGER SERIES
If you are new to Home Assistant one of the first questions you may be asking is how can I make a series of sequential events occur in the event of some kind of other action.įor example you may want a smart light switch to turn on the main light, a lamp and the TV in the living room.
