Closed Sticker298 closed 3 years ago
Hi was reading through the open issues. This has nothing to do with the Toon climate component but it seems to be a more generic Home Assistant question. Nevertheless you can simply do this by creating a sensor template. I have created a quick sensor to validate and to be able to show you how it is done:
platform: template sensors: toon_current_room_temperature: friendly_name: "Room" unit_of_measurement: 'degrees' value_template: "{{ state_attr('climate.thermostaat', 'current_temperature') }}"
If you add this as a new sensor and add that sensor as a badge it will do exactly what you requested. Please note that my Toon is called "thermostaat" hence the "climate.thermostaat". If your Toon is called differently like Toon or the default "Thermostat" you need to replace that part to correctly reflect your Toon.
@Sticker298 @rbak69 I have updated the README
Closed, solution documented.
Is it possible to put the room temperature in a badge?