mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-18 19:26:57 +00:00
Fixed the IP Sensor Change to account for quota limit errors.
This commit is contained in:
@@ -60,5 +60,5 @@
|
|||||||
# sensors:
|
# sensors:
|
||||||
# ipchange:
|
# ipchange:
|
||||||
# entity_id: sensor.external_ip
|
# entity_id: sensor.external_ip
|
||||||
# value_template: "{%- if is_state('sensor.external_ip', 'xxx.xxx.xxx.xxx') -%} False {%- else -%} True {%- endif %}"
|
# 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