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:
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.
According to the documentation, this action is allowed:
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:
Syntax is OK, no errors occur:
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.createaction 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.