Skip to content

Is saver.save_state service call also allowed for more than one entity at once? #48

Description

@Krzysztonek

According to the documentation, this action is allowed:

service: saver.save_state
data:
  entity_id: cover.living_room

Question:

Is it also allowed for more than one entity at once?

In the Developer tools -> Actions panel I defined the following action, where data section includes not only a single entity but a list of couple ones:

service: saver.save_state
data:
  entity_id:
    - input_boolean.automatyka_gabinet
    - input_boolean.automatyka_garaz

Syntax is OK, no errors occur:

Image

But does it really work for more than one entity in one service call?
How to restore them back using one service call?
If not, then how to save more than one entity at once?

I exclude the use of scene.create action with data snapshot, because it does NOT work as expected, since after each restart of HA this scene is being deleted and all the states from this snapshot are being lost.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions