Editing
Home Assistant
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=How-To= This is a collection of some "How-To" tips.<br> They might not be the most correct methods, but they worked for me.<br> Use them as a guide to your own needs.<br> ==How to copy an automation== If you use the UI (User Interface) or Blueprint to create your automation,it can only be copied as a YAML file.<br> This is why all examples here are in YAML.<br> ;To create a new automation from examples here, 1. Go to: <b>Settings -> Automations & Scenes</b> then click on "CREATE AUTOMATION".<br> 2. Click on "Create new automation"<br> 3. Click on the meatball menu (3-dots) on the top-right.<br> 4. Click on "Edit in YAML".<br> 5. In the "New Automation" page, select everything (ctrl-A) then DEL (delete).<br> 6. Now highlight the example YAML configuration and paste it in the "New automation" window.<br> 7. Make edits as necessary (optional) then<br> 8. Click on "Save"<br> ;Optional: 1. Click on the meatball menu (3-dots) on the top-right.<br> 2. Click on "Edit in visual editor".<br> 3. Make edits as necessary (optional) then<br> 4. Click on "Save"<br> ==Turn off the laundry room light after 15 minutes== <nowiki>alias: Turn off laundry light after a few minutes description: Automatically turns off the laundry light after it has been on for 15 minutes. triggers: - entity_id: - light.laundry_light to: "on" for: hours: 0 minutes: 15 seconds: 0 trigger: state conditions: [] actions: - target: entity_id: light.laundry_light action: light.turn_off data: {} mode: single</nowiki> {{template:top}}
Summary:
Please note that all contributions to Notebook may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Notebook:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Home Page
C++ Reference
ESP Hardware
ESPHome
Home Assistant
Network Stuff
Tools
What links here
Related changes
Special pages
Page information