Skip to content

Message malformed: extra keys not allowed @ data['0'] #32491

Description

@hensjl

Feedback

Always have the same error message:
Message malformed: extra keys not allowed @ data['0']
The code I use as model is the last: # Example automation using snapshot
I get the same error with the sample code itself.

# Example automation using snapshot
- alias: "Window opened"
  trigger:
  - platform: state
    entity_id: binary_sensor.window
    from: "off"
    to: "on"
  condition: []
  action:
  - service: scene.create
    data:
      scene_id: before
      snapshot_entities:
      - climate.ecobee
      - light.ceiling_lights
  - service: light.turn_off
    target:
      entity_id: light.ceiling_lights
  - service: climate.set_hvac_mode
    target:
      entity_id: climate.ecobee
    data:
      hvac_mode: "off"
- alias: "Window closed"
  trigger:
  - platform: state
    entity_id: binary_sensor.window
    from: "on"
    to: "off"
  condition: []
  action:
  - service: scene.turn_on
    target:
      entity_id: scene.before

URL

https://www.home-assistant.io/integrations/scene/

Version

2024.4.4

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    integration: scenestaleThe PR had no activity for quite some time, and is marked as Stale

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions