cyberjunky / home-assistant-toon_climate

This component provides a climate device for rooted Toon thermostats.
MIT License
32 stars 8 forks source link

Get current temperature setting #34

Closed GertJanArts closed 2 years ago

GertJanArts commented 2 years ago

Hi, Is it possible to add the current temperature setting as an entity? That way i can use the integration manual Thanks

cyberjunky commented 2 years ago

You can always use a template sensor to create one?

- platform: template
    sensors:
      temperatuur_woonkamer:
        friendly_name: "Temperatuur Woonkamer"
        value_template: "{{ state_attr('climate.toon','current_temperature') }}"
        unit_of_measurement: °C
GertJanArts commented 2 years ago

ok, that's works but that's not what I mean. I am looking for a way to get the target temperature setting from Toon and not the current temperature. Thanks

cyberjunky commented 2 years ago

@GertJanArts this is basic home-assistant skill/stuff, every attribute can be put in a sensor, so here you go:

- platform: template
    sensors:
      temperatuur_set:
        friendly_name: "Temperatuur Set"
        value_template: "{{ state_attr('climate.toon','temperature') }}"
        unit_of_measurement: °C
GertJanArts commented 2 years ago

So sorry cyberjunky, I'm not an advanced user ;) Sensor is now working. Thank you very much!!!

cyberjunky commented 2 years ago

@GertJanArts No problem, we all started once ;) Maybe you have to enable advance mode in your login acount (the profile icon on the left) The you should be able (or already see) Developer option/tools or Ontwikkelhulpmiddelen in Dutch, in the left menu bar. Then search for your toon and you will find this:

image