Store list/dictionary ?!

You can use a Trigger-based Template Sensor to store data as a dictionary, list, boolean, etc.

Here are two examples:

  1. A separate entity for each variable. The entity’s state is limited to storing a string (like all entities) but its attributes can store other data types.
  1. A single entity for multiple variables. Each variable is stored as a separate attribute (therefore its type can be dictionary, list, etc). Variables can be defined dynamically.
1 Like