How to create a card with a matrix of 'input.number' helpers

Hello,

I am trying to automate my heating configuration across the house, and to do that I am setting a series of target temperatures for the different areas of the house for different times of the day (ideally I would be using arrays, but can’t find the way to define them, so just using individual variables).

To present an easy way to configure it I’d like to have a card showing a matrix of areas/times of the day (morning, evening, night, for example) similar to this:

Each row is a different area of the house (with thermostats and configurable in the heating system, obviously) and each column is a time of the day. That way I can configure scripts to set the appropriate target temperature per area&time.

But can’t find a way to do it. I can get a card of ‘entities’ (each target temperature defined by a helper similar to input_number.day_temp_2floor), but can’t find the way to define a matrix in the same card.

Yes, I could use one card per area with one entity per time of the day, or the other way around, one card per time of the day with entities for the different areas, but I’d rather have one single card with the whole matrix.

Any idea how to approach this?

Thanks!

1 Like