homeassistant:
  customize:
    sensor.breaches*:
      icon: mdi:email-alert

sensor:
  - platform: haveibeenpwned
    email:
      - !secret hibp_email1
      - !secret hibp_email2
      - !secret hibp_email3
      - !secret hibp_email4
      - !secret hibp_email5
      - !secret hibp_email6
      - !secret hibp_email7
      - !secret hibp_email8
      - !secret hibp_email9

automation:
- alias: Have I Been Pwned Change
  trigger:
    - platform: numeric_state
      above: 0
      entity_id: 
        - !secret sensor_hibp_email3
        - !secret sensor_hibp_email4
        - !secret sensor_hibp_email5
    - platform: numeric_state
      above: 1
      entity_id:
        - !secret sensor_hibp_email2
        - !secret sensor_hibp_email9
    - platform: numeric_state
      above: 2
      entity_id:
        - !secret sensor_hibp_email6
    - platform: numeric_state
      above: 3
      entity_id:
        - !secret sensor_hibp_email7
    - platform: numeric_state
      above: 4
      entity_id:
        - !secret sensor_hibp_email1
        - !secret sensor_hibp_email8
  action:
    service: notify.ios_martins_iphone
    data_template:
      message: "Warning - HaveIbeenPwned detected {{trigger.to_state.attributes.friendly_name}}"
homeassistant:
  customize_glob:
    sensor.breaches*:
      icon: mdi:email-alert

sensor:
  - platform: haveibeenpwned
    email:
      - !secret hibp_email1
      - !secret hibp_email2
      - !secret hibp_email3
      - !secret hibp_email4
      - !secret hibp_email5
      - !secret hibp_email6
      - !secret hibp_email7
      - !secret hibp_email8
      - !secret hibp_email9

automation:
- alias: Have I Been Pwned Change
  trigger:
    - platform: numeric_state
      above: 0
      entity_id: 
        - !secret sensor_hibp_email3
        - !secret sensor_hibp_email4
        - !secret sensor_hibp_email5
    - platform: numeric_state
      above: 1
      entity_id:
        - !secret sensor_hibp_email2
        - !secret sensor_hibp_email9
    - platform: numeric_state
      above: 2
      entity_id:
        - !secret sensor_hibp_email6
    - platform: numeric_state
      above: 3
      entity_id:
        - !secret sensor_hibp_email7
    - platform: numeric_state
      above: 4
      entity_id:
        - !secret sensor_hibp_email1
        - !secret sensor_hibp_email8
  action:
    service: notify.ios_martins_iphone
    data_template:
      message: "Warning - HaveIbeenPwned detected {{trigger.to_state.attributes.friendly_name}}"
Correct incorrect custimize section, should be customize_glob as using widcards.
Correct incorrect custimize section, should be customize_glob as using widcards.
