Netatmo Event filter on camera_id

Hi all, with some searching and a lot of trial and error … I found the following workaround:

  alias: Netatmo event human Achterkant
  trigger:
    - platform: event
      event_type: netatmo_event
      event_data:
        type: human
#        camera_id: '70:ee:50:xx:xx:xx'
  condition:
    condition: template
    value_template: "{{ trigger.event.data['data']['camera_id'] == '70:ee:50:xx:xx:xx' }}"
  action:
  - data:
      message: Netatmo event human Achterkant
    service: notify.mobile_app_iphone_van_xxx
  mode: single

This works fine to distinguish events from my two camera’s.

1 Like