jazzyisj / home-assistant-config

My Home Assistant configuration.
67 stars 10 forks source link

Alert Error - Extra keys not allowed @ data['data'] #20

Closed jazzyisj closed 2 years ago

jazzyisj commented 2 years ago
ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
  Traceback (most recent call last):
    File "/usr/src/homeassistant/homeassistant/core.py", line 1442, in async_call
      processed_data = handler.schema(service_data)
    File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in __call__
      return self._compiled([], data)
    File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
      return base_validate(path, iteritems(data), out)
    File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
      raise er.MultipleInvalid(errors)
  voluptuous.error.MultipleInvalid: extra keys not allowed @ data['data']
jazzyisj commented 2 years ago

Tried to use persistent notification together with mobile notification. Persistent didn't like data tag.

  - platform: group
    name: system
    services:
      # - service: persistent_notification #ISSUE this doesn't this work?
      #ERROR MultipleInvalid: extra keys not allowed @ data['data']
      - service: jason