Fixed the IP Sensor Change to account for quota limit errors.

This commit is contained in:
CCOSTAN
2017-02-28 04:46:32 +00:00
parent de61d8f21e
commit 086738911d

View File

@@ -60,5 +60,5 @@
# sensors:
# ipchange:
# 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 %}"
#############################################################################################################