Files
Home-AssistantConfig/config/automation/System/bad_logins.yaml

20 lines
535 B
YAML
Executable File

###################################
## Uses IFTTT to notify me of bad logins.
###################################
- alias: Login Failure
id: 814c48ea-e2e1-4b75-92b0-581081af5ce5
trigger:
platform: template
value_template: "{{ states('persistent_notification.httplogin') != 'unknown' }}"
action:
- service: script.notify_engine
data:
value1: 'Bad Login: '
value2: 'There was a Hack attempt!'
value3: 'Go Check the GUI for details.'
who: 'carlo'
apns_id: 'information'