diff --git a/automation/bad_logins.yaml b/automation/bad_logins.yaml index 060b805d..552a6a8a 100755 --- a/automation/bad_logins.yaml +++ b/automation/bad_logins.yaml @@ -5,13 +5,12 @@ - alias: Login Failure hide_entity: True trigger: - platform: numeric_state - entity_id: sensor.badlogin - above: 1 + platform: template + value_template: "{{ states('persistent_notification.httplogin') != 'unknown' }}" action: service: script.ifttt_notify data_template: value1: 'Bad Login: ' value2: 'There was a Hack attempt!' - value3: '' + value3: 'Go Check the GUI for details.' diff --git a/automation/watchdog.yaml b/automation/watchdog.yaml index d058e78e..0f0f9a31 100755 --- a/automation/watchdog.yaml +++ b/automation/watchdog.yaml @@ -65,15 +65,15 @@ ############################################################################## -- alias: Add some double and triple checking to the 433 RF outlets. - hide_entity: True - trigger: - - platform: time - minutes: 43 - seconds: 0 +# - alias: Add some double and triple checking to the 433 RF outlets. + # hide_entity: True + # trigger: + # - platform: time + # minutes: 43 + # seconds: 0 - action: - - service: script.reliability + # action: + # - service: script.reliability ############################################################################## diff --git a/configuration.yaml b/configuration.yaml index 2a79becc..a800e7bd 100755 --- a/configuration.yaml +++ b/configuration.yaml @@ -71,7 +71,7 @@ logbook: #logger: # default: info recorder: - purge_days: 14 + purge_days: 7 mqtt: broker: 127.0.0.1