mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-12-13 02:22:27 +00:00
Compare commits
3 Commits
80074ed855
...
8bd32d811c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8bd32d811c | ||
|
|
a8ed755000 | ||
|
|
06b1655083 |
@@ -1 +1 @@
|
||||
2025.9.3
|
||||
2025.9.4
|
||||
@@ -37,8 +37,8 @@
|
||||
- wait_template: "{{ states.binary_sensor.mcu1_gpio12.state == 'on' }}"
|
||||
timeout: '00:05:00'
|
||||
|
||||
- wait_template: "{{ states.binary_sensor.kitchen_door.state == 'on' }}"
|
||||
timeout: '00:1:00'
|
||||
# - wait_template: "{{ states.binary_sensor.kitchen_door.state == 'on' }}"
|
||||
# timeout: '00:1:00'
|
||||
|
||||
- delay: '00:01:00'
|
||||
- service: script.speech_engine
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
value_template: "{{ trigger.event.data.entity_id is not none }}"
|
||||
- condition: template
|
||||
value_template: "{{ trigger.event.data.entity_id.split('.')[0] == 'light' }}"
|
||||
- condition: template
|
||||
value_template: "{{ trigger.event.data.entity_id.split('_')[0] != 'light.tv' }}"
|
||||
# - condition: template
|
||||
# value_template: "{{ trigger.event.data.entity_id.split('_')[0] != 'light.tv' }}"
|
||||
- condition: template
|
||||
value_template: "{{ trigger.event.data.entity_id.split('_')[0] != 'light.couch' }}"
|
||||
- condition: template
|
||||
@@ -34,8 +34,8 @@
|
||||
value_template: "{{ trigger.event.data.entity_id.split('_')[0] != 'light.flood_2' }}"
|
||||
- condition: template
|
||||
value_template: "{{ trigger.event.data.entity_id.split('_')[0] != 'light.treeflood' }}"
|
||||
- condition: template
|
||||
value_template: "{{ trigger.event.data.entity_id.split('_')[0] != 'light.led' }}"
|
||||
# - condition: template
|
||||
# value_template: "{{ trigger.event.data.entity_id.split('_')[0] != 'light.led' }}"
|
||||
- condition: template
|
||||
value_template: "{{ trigger.event.data.entity_id.split('_')[1] != 'screensaver' }}"
|
||||
- condition: template
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
##############################################################################
|
||||
### Detect when things are on and forgotten about. Like any Good Watchdog.
|
||||
##############################################################################
|
||||
|
||||
##############################################################################
|
||||
|
||||
- alias: "NOTIFY IF IP CHANGES"
|
||||
id: 88a58d11-28bd-48e1-a674-bc53ee3d8016
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: sensor.ipchange
|
||||
from: 'False'
|
||||
to: 'True'
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data:
|
||||
value1: 'Changed IP address:'
|
||||
value2: "New IP: {{ states('sensor.exteral_ip') }}"
|
||||
value3: ' - Be sure to Change DNS!'
|
||||
who: 'carlo'
|
||||
group: 'ip-change'
|
||||
|
||||
##############################################################################
|
||||
@@ -9,9 +9,9 @@
|
||||
id: 5ea2a2b5-e3de-4acd-823c-dac3eeaa6118
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.kitchen_door
|
||||
to: 'on'
|
||||
# - platform: state
|
||||
# entity_id: binary_sensor.kitchen_door
|
||||
# to: 'on'
|
||||
- platform: state
|
||||
entity_id: binary_sensor.mcu1_gpio12
|
||||
to: 'on'
|
||||
@@ -37,19 +37,19 @@
|
||||
to: 'off'
|
||||
for:
|
||||
seconds: 15
|
||||
- platform: state
|
||||
entity_id: binary_sensor.kitchen_door
|
||||
to: 'off'
|
||||
for:
|
||||
seconds: 15
|
||||
# - platform: state
|
||||
# entity_id: binary_sensor.kitchen_door
|
||||
# to: 'off'
|
||||
# for:
|
||||
# seconds: 15
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.mcu1_gpio12
|
||||
state: 'off'
|
||||
- condition: state
|
||||
entity_id: binary_sensor.kitchen_door
|
||||
state: 'off'
|
||||
# - condition: state
|
||||
# entity_id: binary_sensor.kitchen_door
|
||||
# state: 'off'
|
||||
- condition: state
|
||||
entity_id: light.garage_hallway
|
||||
state: 'on'
|
||||
|
||||
@@ -3,6 +3,6 @@ doors:
|
||||
entities:
|
||||
- binary_sensor.hallway_linen
|
||||
- binary_sensor.hallway_pantry
|
||||
- binary_sensor.kitchen_door
|
||||
# - binary_sensor.kitchen_door
|
||||
- binary_sensor.MCU2_GPIO12 # Main Slider
|
||||
- binary_sensor.MCU3_Light # Alarm Door
|
||||
|
||||
@@ -78,3 +78,40 @@ automation:
|
||||
|
||||
- delay: 00:20:00
|
||||
- event: event_did_someone_help_vacuum_loop
|
||||
|
||||
# https://www.vcloudinfo.com/click-here - For more info or contact.
|
||||
|
||||
- alias: 'Set Vacuum Mode: Weekdays Sweeping, Weekends Sweeping and Mopping'
|
||||
id: l10s_vacuum_mode_schedule
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '08:00:00'
|
||||
condition: []
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: time
|
||||
weekday:
|
||||
- mon
|
||||
- tue
|
||||
- wed
|
||||
- thu
|
||||
- fri
|
||||
sequence:
|
||||
- service: select.select_option
|
||||
target:
|
||||
entity_id: select.l10s_vacuum_cleaning_mode
|
||||
data:
|
||||
option: sweeping
|
||||
- conditions:
|
||||
- condition: time
|
||||
weekday:
|
||||
- sat
|
||||
- sun
|
||||
sequence:
|
||||
- service: select.select_option
|
||||
target:
|
||||
entity_id: select.l10s_vacuum_cleaning_mode
|
||||
data:
|
||||
option: sweeping_and_mopping
|
||||
default: []
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
- platform: rest
|
||||
scan_interval: 86400
|
||||
resource: https://api.ipify.org/
|
||||
name: External IP
|
||||
value_template: '{{ value }}'
|
||||
|
||||
#############################################################################################################
|
||||
### This part of the automation is hidden due to the External IP address being exposed ##
|
||||
# - platform: template
|
||||
# sensors:
|
||||
# ipchange:
|
||||
# entity_id: sensor.external_ip
|
||||
# value_template: "{%- if is_state('sensor.external_ip', 'xxx.xxx.xxx.xxx') -%} False {%- elif is_state('sensor.external_ip', 'unknown' ) -%} False {%- else -%} True {%- endif %}"
|
||||
#############################################################################################################
|
||||
@@ -1,16 +1,16 @@
|
||||
<svg width="61.5" height="20" viewBox="0 0 615 200" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="2025.9.3">
|
||||
<title>2025.9.3</title>
|
||||
<linearGradient id="xBDgo" x2="0" y2="100%">
|
||||
<svg width="61.5" height="20" viewBox="0 0 615 200" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="2025.9.4">
|
||||
<title>2025.9.4</title>
|
||||
<linearGradient id="wTySA" x2="0" y2="100%">
|
||||
<stop offset="0" stop-opacity=".1" stop-color="#EEE"/>
|
||||
<stop offset="1" stop-opacity=".1"/>
|
||||
</linearGradient>
|
||||
<mask id="OkNyK"><rect width="615" height="200" rx="30" fill="#FFF"/></mask>
|
||||
<g mask="url(#OkNyK)">
|
||||
<mask id="PCodJ"><rect width="615" height="200" rx="30" fill="#FFF"/></mask>
|
||||
<g mask="url(#PCodJ)">
|
||||
<rect width="615" height="200" fill="#08C" x="0"/>
|
||||
<rect width="615" height="200" fill="url(#xBDgo)"/>
|
||||
<rect width="615" height="200" fill="url(#wTySA)"/>
|
||||
</g>
|
||||
<g aria-hidden="true" fill="#fff" text-anchor="start" font-family="Verdana,DejaVu Sans,sans-serif" font-size="110">
|
||||
<text x="65" y="148" textLength="500" fill="#000" opacity="0.25">2025.9.3</text>
|
||||
<text x="55" y="138" textLength="500">2025.9.3</text>
|
||||
<text x="65" y="148" textLength="500" fill="#000" opacity="0.25">2025.9.4</text>
|
||||
<text x="55" y="138" textLength="500">2025.9.4</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 811 B After Width: | Height: | Size: 811 B |
Reference in New Issue
Block a user