I am trying to get a count of temp sensors that are over 45 degrees. this template sensor keeps reporting unavailable.
suggestions on the best way to do this?
thanks for the help. In order to use the new template integration format do I have to convert every template in my sensors.yaml file to the new format? is there a a good guide on making these changes?
also can I use two selectattr lines (to grab the freezer) as follows?
No. There is no indication that the legacy format is going away and it can exist alongside the new format. The legacy format does not get new features though. e.g. state_class is only supported by the new format. This is why you should use it for new sensors.
Not the way you have it. That will require both fridge_temperatureandfreezer_temperature to be in the entity_id. You want or logic: