jazzyisj / home-assistant-config

My Home Assistant configuration.
67 stars 10 forks source link

IP Bans, Failed Logins #16

Closed jazzyisj closed 1 year ago

jazzyisj commented 2 years ago
- id: hass_dismiss_failed_login_notification
  alias: '[Hass] Dismiss Failed Login Notfication'
  description: 'Automatically dismiss failed login notifications.'
  mode: restart
  trigger:
    - platform: event
      event_type: state_changed
      event_data:
        entity_id: persistent_notification.http_login
  condition:
    - condition: template
      value_template: "{{ states('persistent_notification.http_login') == 'notifying' }}"
  action:
    - service: persistent_notification.dismiss
      data:
        notification_id: http_login
jazzyisj commented 1 year ago

Seems to be mostly resolved, no ip bans in a long time.