Notification HTML5 service

After upgrade form 0.85 to 0.86 version html5 push notofication stopped working:

Invalid config for [automation]: Service notify.ArekGoogle does not match format <domain>.<name> for dictionary value @ data['action'][0]['service']. Got None. (See /config/configuration.yaml, line 96). Please check the docs at https://home-assistant.io/components/automation/

configuration.yaml

notify:
  - platform: html5
    name: ArekGoogle
    gcm_api_key: !secret notify_gcm_api_key
    gcm_sender_id: !secret notify_gcm_sender_id

automations.yaml

- alias: Otwarte drzwi wejściowe - powiadomienie
  trigger:
    platform: state
    entity_id: binary_sensor.door_window_sensor_158d0001d8737d
    from: 'off'
    to: 'on'
  action:
  - service: notify.ArekGoogle
    data:
      message: 'wejściowe {{now().strftime("%H:%M:%S")}}'
      title: Dzwi otwarte
  - service: xiaomi_aqara.play_ringtone
    data:
      gw_mac: 34ce008d4fd0
      ringtone_id: 11
      ringtone_vol: 4
  - service: xiaomi_aqara.play_ringtone
    data:
      gw_mac: 7811dcb06922
      ringtone_id: 11
      ringtone_vol: 4
  - service: script.flash_gateway12
1 Like

Change the capital letters to lowercase.

1 Like

Thank You.

2 Likes

Awesome! This worked great

1 Like