diff --git a/.gitignore b/.gitignore index 73512000..9d6f13df 100755 --- a/.gitignore +++ b/.gitignore @@ -18,4 +18,5 @@ phue.conf pyozw.sqlite nest.conf .uuid +ipchange.yaml diff --git a/sensor/systemmonitor.yaml b/sensor/systemmonitor.yaml index 8e20d970..96284937 100755 --- a/sensor/systemmonitor.yaml +++ b/sensor/systemmonitor.yaml @@ -54,8 +54,11 @@ name: External IP value_template: '{{ value_json.ip }}' -- platform: template - sensors: - ipchange: - entity_id: sensor.external_ip - value_template: "{%- if is_state('sensor.external_ip', '!secret external_ip') -%} False {%- else -%} True {%- endif %}" \ No newline at end of file +############################################################################################################# +### This part of the automation is hidden due to the IP address exposed ## +# - platform: template + # sensors: + # ipchange: + # entity_id: sensor.external_ip + # value_template: "{%- if is_state('sensor.external_ip', 'xxx.xxx.xxx.xxx') -%} False {%- else -%} True {%- endif %}" +############################################################################################################# \ No newline at end of file