I’m scratching my head about this one. Any help would be gratefully received.
I have a number of TRVs.
I have an input.select helper with a number of home “modes”, e.g. “Day”, “Night”, “Away”, etc.
I have a number of automations set up to trigger the change from one mode to another.
I’m trying to set up a variable (using the var integration) to store the desired TRV temperatures for each of the modes. So, in python-speak, the data structure I’m looking to build is { bedroom : { day : 14, evening : 16, night : 17, away : 14, holiday : 12 }, living_room : { day : 16, evening : 19 …
I think you get the picture
But I can’t seem to search the dictionaries.
In python-speak I should be able to search trv_settings[bedroom][day] shouldn’t I? Or have I lost my touch?