Displays status-tiles for things that should be done before leaving the space, like closing the windows.
Layouts are set via JSON sent to /layout as HTTP POST requests. For example like this:
curl -X POST -T example_layout.json http://your.ip/layout
A layout consists of a single object with each key being the name of your choice for a status-tile.
The value corresponding to that key is another object which has the x and y keys for the tiles location on the 3x2 grid,
a desc key for an array with three strings (character set is CodePage437), each one line of the description,
and optionally an icon key for a string corresponding to the name of an icon.
States are set via JSON sent to /states as HTTP POST requests. For example like this:
{"solder":"unknown","power":"on","dishwasher":"off",
"shutters":"unknown","windows":"off","door":"on"}For each tile that shall change state, a key-value pair has to be sent, the key being the name assigned in the layout,
and the value being a string (either on for OK, off for bad, or anything else for unknown).
/textsets the status text at the bottom of the screen. (Send a string of up to 31 characters via HTTP POST.)/brightnesssets the displays brightness. (Send a number from 0 to 100 via HTTP POST.)/powerturns the Display on/off via DDC. (Send eitheronoroffvia HTTP POST.)
rest_command:
  set_info_tile_states:
    url: "http://your.ip/states"
    payload: >
      {% macro entity_to_kv(entity_id) %}'{{ entity_id }}': '{{ states(entity_id) }}'{% endmacro %}
      {
        {{ entity_to_kv('binary_sensor.window_1') }},
        {{ entity_to_kv('binary_sensor.door_3') }}
      }