Get Sensors of homemitic Thermostat

Hi,

id like to show up some Temerature History for my homematic Thermostats, so actual temperature and target temp.
Bur these are Attributes in the Entity:

hvac_modes:
  - auto
  - heat
  - 'off'
min_temp: 4.5
max_temp: 30.5
target_temp_step: 0.5
preset_modes:
  - boost
  - comfort
  - eco
current_temperature: 22.9
temperature: 21
preset_mode: none
id: LEQ*********
interface: wireless
battery: 2.5
rssi_peer: -77
valve: 2
mode: Auto
icon: mdi:radiator
friendly_name: Heizung Wohnzimmer
supported_features: 17

Off course i could use the history graph but that is not very beautiful imo.
I tried to get that in Sensor Graph and in Mini Graph, but bith failed, because this is no sensor, they are attributes.

Do you have an idea, how to get a nice graph out of this? Or get the data to a Sensor?

Are you using Homematic (local) or the Homematic IP integration?

You can set up a template sensor for attributes and then use that template sensor for your goals.

Set the state to something like: {{state_attr("climate.LEQ*********","current_temperature")}}

I use the local Homematic.
OK, just also had the idea of creating sensors with tamplate, but this require me to create each sensor manually?

Yes for attributes to be displayed as a sensor, you have to do this. It is also described here in the documentation for the Homematic integration.

There is a another integration for local Homematic: GitHub - danielperna84/custom_homematic: Custom Home Assistant Component for HomeMatic

I think it is still developing and might replace the standard integration in the future. It could be different regarding the displayed sensors with that integration.

OK, thanks for assiatance, this will work out for me.

1 Like