This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| template: | |
| - trigger: | |
| - trigger: homeassistant | |
| event: start | |
| - trigger: time_pattern | |
| minutes: "/5" # update every 5 minutes | |
| actions: | |
| - action: ai_task.generate_data | |
| data: | |
| task_name: "People count" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias: AI-Driven Lighting Control | |
| description: Uses AI Task to adjust lighting based on home state | |
| triggers: | |
| - entity_id: | |
| - binary_sensor.bedroom_motion | |
| to: "on" | |
| trigger: state | |
| actions: | |
| - data: | |
| instructions: >- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias: Count Persons from a Pic | |
| description: Uses AI Task to analyze a camera snapshot and count persons | |
| triggers: | |
| - trigger: time_pattern | |
| minutes: /5 | |
| enabled: true | |
| - trigger: time_pattern # execute the automation every 10 seconds just to test the automation | |
| seconds: /10 | |
| enabled: false | |
| actions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias: Weather-Based Clothing Suggestion (All Data to AI) | |
| description: Send entire hourly forecast to AI for clothing suggestion | |
| triggers: | |
| - trigger: state | |
| entity_id: input_button.start_automation | |
| to: null | |
| actions: | |
| - action: weather.get_forecasts | |
| target: | |
| entity_id: weather.forecast_home |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias: TV Off During Day Notification | |
| description: "" | |
| triggers: | |
| - trigger: state | |
| entity_id: input_boolean.tv | |
| to: "off" | |
| for: | |
| minutes: 1 | |
| conditions: | |
| - condition: time |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias: Garage Door Open At Night Notification | |
| description: "" | |
| triggers: | |
| - trigger: state | |
| entity_id: | |
| - cover.garage_door | |
| to: open | |
| for: | |
| hours: 0 | |
| minutes: 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias: Generate Welcome Home Message | |
| description: Uses AI Task to create a personalized welcome message when arriving home | |
| triggers: | |
| - entity_id: person.kiril | |
| to: home | |
| trigger: state | |
| actions: | |
| - data: | |
| instructions: >- | |
| Generate a short, friendly welcome home message for {{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias: New automation - Kevin | |
| description: "" | |
| triggers: | |
| - trigger: state | |
| entity_id: | |
| - binary_sensor.aqara_lumi_motion_ac01_occupancy | |
| to: "on" | |
| id: detected | |
| - trigger: state | |
| entity_id: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This is OPTIONAL, you can comment the next 2 lines below if you don't want web servre | |
| web_server: | |
| port: 80 | |
| i2c: | |
| sda: 21 | |
| scl: 22 | |
| scan: true | |
| sensor: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias: Smart EV Charging - Adaptive with Controls | |
| description: Adjust EV charger current based on PV & Battery SoC, with dashboard controls | |
| trigger: | |
| - platform: time_pattern | |
| minutes: "/3" # every 3 minutes | |
| condition: | |
| - condition: state | |
| entity_id: input_boolean.enable_smart_ev_charging | |
| state: "on" | |
| action: |