Missing Fritz Dect 301 values / states in influxdb / grafana


I’am trying to create graphs in grafana for a Fritz Dect 301 radiator controller. I use the AVM FRTIZ!SmartHome Integration.

When i check the entities in that Integration i see:
6 devices
12 Entities (Temp & Battery state)

When i check in dev Tools i see for the entity i want to graph:

  - heat
  - 'off'
min_temp: 8
max_temp: 28
  - eco
  - comfort
current_temperature: 18.5
temperature: 15.5
preset_mode: null
battery_low: false
device_locked: false
locked: false
battery_level: 40
holiday_mode: false
summer_mode: false
window_open: false
friendly_name: Office EG
supported_features: 17

I would like to record / see current_temperature and temperature in my graph.

But i can not select these values in grafana. There are not available.

I think i have to force recording for this states. Correct? How can i archive that?


I found a work around(?) or is this they way to go anyway?

I defined in my sensors.yaml the following sensors (s. below). After a restart of HA i can see / use them in grafana / influxdb.

Are there other ways without extra sensors?

- platform: template
      friendly_name: "Office EG Temperatur"
      value_template: "{{ state_attr('climate.arbeitszimmer', 'current_temperature') }}"
      unit_of_measurement: "°C"
      device_class: temperature

      friendly_name: "Office EG Soll Temperatur"
      value_template: "{{ state_attr('climate.arbeitszimmer', 'temperature') }}"
      unit_of_measurement: "°C"
      device_class: temperature


looks like you fixed may problem I described here:
Climate sensors

Thanks! :slight_smile:

Just to understand this (I’m new to HA): you define a kind of virtual sensor which copies the values from the climate entity into a temperature sensor which then can be picked up by influxDB/Grafana, correct?

Ha :smiley:

Yes, thats exactly what i do here and i think this is the only way to go (for my issue).

I’m using HA Core Ver. 2922.2.9 with Ubuntu 21.10 and tried your suggestion.
I want to display/plot the current temperature of my dect301. in the HA diagnostic information i gathered the following information of more sensors.
“name”: “Flur”,
“present”: true,
“actual_temperature”: 20.0,
“target_temperature”: 21.0,
“eco_temperature”: 16.0,
“comfort_temperature”: 21.0,
“device_lock”: false,
“lock”: false,
“error_code”: 0,
“battery_low”: false,
“battery_level”: 70,
“window_open”: false,
“summer_active”: false,
“holiday_active”: false,
“nextchange_endperiod”: 1647374400,
“nextchange_temperature”: 16.0,
“offset”: -4.0,
“temperature”: 20.0

I managed with your suggestion to generate template sensors.
I tried the “actual_temperature” as template sensor but got no temperature output. Therefore I tried “temperature” but the displayed temperature is always 21 and is not changed as it is in the list above to 20 degree.

What is going wrong?


Hello community,
I would like to know in which directory the file sensors.yaml is located and how I can integrate it correctly in Homessistant. I have already searched for it, but unfortunately I have not found it.
Thank you for your support.
Greetings Christopher

  • Core 2024.1.2
  • Supervisor 2023.12.0
  • Operating System 11.4
  • Frontend 20240104.0