I am using Home assistant 2026.2 with the victoriametrics app. Everything is running well and i can visualize all the value-based sensors with grafana.
However, those sensors which hold text-based information are always displayed as ‘0’ in grafana.
How can I access the text information in grafana?
For example: I use the plugin Weishaupt Modbus which creates several sensors. One of them is the operation mode (heating, hot water, defrost, …).
If i use this sensor in grafana, the “value” is always zero and none of the fields available in grafana show any change.
Is it maybe I filter this attribute in my config (see below)?
Or do I just have to enter a magic string in my query for that? I have both the VictoriaMetrics and Prometheus Plugin in my grafana installation
influxdb:
api_version: 1
host: 1bd4a9fb-victoria-metrics
port: 8428
max_retries: 3
measurement_attr: entity_id
tags_attributes:
- friendly_name
- unit_of_measurement
ignore_attributes:
- icon
- source
- options
- editable
- min
- max
- step
- mode
- marker_type
- preset_modes
- supported_features
- supported_color_modes
- effect_list
- attribution
- assumed_state
- state_open
- state_closed
- writable
- stateExtra
- event
- friendly_name
- device_class
- state_class
- ip_address
- device_file
- unit_of_measurement
- unitOfMeasure
- color_mode
- hs_color
- rgb_color
- xy_color
- hvac_action
- value
- writeable
- attribution
- dataCorrect
- dayname
include:
domains:
- sensor
- binary_sensor
- light
- switch
- cover
- climate
- input_boolean
- input_select
- number
- lock
- weather
exclude:
entity_globs:
- sensor.clock*
- sensor.date*
- sensor.glances*
- sensor.time*
- sensor.uptime*
- sensor.dwd_weather_warnings_*
- weather.weatherstation
- binary_sensor.*_smartphone_*
- sensor.*_smartphone_*
- sensor.adguard_home_*
- binary_sensor.*_internet_access

