mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-10-09 15:48:10 +00:00
Update HA version to 2025.9.4 and remove obsolete IP change automation and external IP sensor configurations for a cleaner setup.
This commit is contained in:
@@ -1 +1 @@
|
|||||||
2025.9.3
|
2025.9.4
|
@@ -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'
|
|
||||||
|
|
||||||
##############################################################################
|
|
@@ -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 %}"
|
|
||||||
#############################################################################################################
|
|
Reference in New Issue
Block a user