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: |
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 - Night Tariff Focus | |
description: Adjust EV charging based on house load and night tariff window. | |
trigger: | |
- platform: time_pattern | |
minutes: "/3" # How often to check and adjust charging (every 3 minutes) | |
condition: [] | |
action: | |
- variables: | |
current_hour: "{{ now().hour }}" | |
# CHANGE THIS: Replace with your actual load/consumption sensor entity |
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
# A resistor is needed on R19 pad | |
# Uncomment the two lines below if you want to have a web server with sensor readings | |
#web_server: | |
# port: 80 | |
uart: | |
tx_pin: 5 | |
rx_pin: 4 | |
baud_rate: 9600 | |
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: below 25cm turn on | |
description: "" | |
triggers: | |
- type: value | |
device_id: 59ac4992933be25320a2f12246deeaf1 # change with yours | |
entity_id: 7a8b7e472f3c73cdfc240132252062ac # change with yours | |
domain: sensor | |
metadata: | |
secondary: false | |
trigger: device |
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
# Uncomment the two lines below if you want to have a web server with sensor readings | |
#web_server: | |
# port: 80 | |
sensor: | |
- platform: ultrasonic | |
id: Distance | |
trigger_pin: 5 | |
echo_pin: 4 | |
name: "Distance" |
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: search the web demo with Google AI | |
description: "" | |
triggers: | |
- trigger: state | |
entity_id: | |
- binary_sensor.lumi_lumi_sensor_motion_aq2_motion | |
to: "on" | |
conditions: [] | |
actions: | |
- action: conversation.process |
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: Ask for Home Assistant news summary - Google AI | |
description: "" | |
triggers: | |
- trigger: state | |
entity_id: | |
- binary_sensor.lumi_lumi_sensor_motion_aq2_motion | |
to: "on" | |
conditions: [] | |
actions: | |
- action: assist_satellite.start_conversation |
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
sequence: | |
- action: conversation.process | |
metadata: {} | |
data: | |
agent_id: conversation.google_generative_ai_2 | |
text: "{{ query }}" | |
response_variable: result | |
- variables: | |
result: | |
response: "{{ result.response.speech.plain.speech }}" |
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
i2c: | |
sda: 4 | |
scl: 5 | |
scan: True | |
web_server: | |
port: 80 | |
# version: 3 | |
ota: false |
NewerOlder