jheling / freeathome

Free@Home component for Home Assistant
103 stars 37 forks source link

room temperature controler - no percentageand heating state #156

Closed mattberlinHA closed 1 year ago

mattberlinHA commented 1 year ago

Hi guys,

there is a percentage being determined by the room temperature controllers. This percentage then acts on the heating actuators. This value does not seem to be availble with this integration (with openHAB it seems to be there). Can this also be done with this integration?

Tho85 commented 1 year ago

The value is available as a state attribute: grafik

You can use it in a template sensor like this:

template:
    sensor:
      - name: "RTC valve"
        state: '{{ state_attr("climate.rtr_ab_ab", "valve") }}'
        unit_of_measurement: "%"
mattberlinHA commented 1 year ago

Thank's for your comment. I am glad, that the valve values can be displayed.

As I newbie, I am probably to unexperienced to get this running. According to the link, one has to integrate the section "template: ...." you posted into the configuration.yaml which I did - except that I changeld "climate.rtr_ab_ab" to the entity name of my RTR. I can now add the entity "RTC valve" to the dashboard for instance. But it doesn't show any values besides 0 %.

I guess that I am making stupid mistakes.

mattberlinHA commented 1 year ago

Hi again!

If the thermostat valve is selected as followed, no values besides 0 are shown: screenshot

The funny thing is that other attributs show the correct values.

Does anyone have an idea why the valve values are not being displayed?