mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-09-13 15:26:58 +00:00
20 lines
533 B
YAML
Executable File
20 lines
533 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'
|
|
group: 'information'
|
|
|