Floor probe missing
rEs-84 opened this issue · comments
Hi,
all was well with this integration occe i got my heatmister.
A little while ago my HACs/this integration got un happy.
I had to remove and re add the integration. Now the floor sensor wont come back
I used to have 2 devices, maybe the stat and the zone or the stat and the hub.
what's the first things to set? Legacy api is enabled on the cloud app.
Thanks in advance
Hi @rEs-84, IIRC, the initial implementation for floor probes was to duplicate the main climate device (i.e. the room thermostat) and massage the output of the duplicate to report the floor temperature. This was inefficient, and was amended to remove the duplicate device and add a new 'attribute' to the main climate entity to report the floor temperature.
Can you check to see if your entity has an additional 'floor temperature' attribute?
Hi @rEs-84, IIRC, the initial implementation for floor probes was to duplicate the main climate device (i.e. the room thermostat) and massage the output of the duplicate to report the floor temperature. This was inefficient, and was amended to remove the duplicate device and add a new 'attribute' to the main climate entity to report the floor temperature.
Can you check to see if your entity has an additional 'floor temperature' attribute?
ah thanks for that, that seems to be the case.
You can use a template sensor to expose the attribute as a sensor value that can be charted etc.
I haven't migrated these to the template format yet, but here is a line from my sensor.yaml file:
- platform: template
sensors:
bathroom_1_floor_temperature:
friendly_name: "Temp Bathroom 1 Floor"
unit_of_measurement: '°C'
value_template: "{{ state_attr('climate.bathroom_1', 'floor_temperature') }}"
if you put it in template.yaml (as I should!) it would be something like:
- sensor:
- name: "Temp Bathroom 1 Floor"
unit_of_measurement: '°C'
state: >
{{ states.climate.bathroom_1.attributes.floor_temperature }}