Laxilef / OTGateway

OpenTherm gateway for HomeAssistant
GNU General Public License v3.0
174 stars 22 forks source link

sensor.opentherm_dhw_flow_rate unavailable #39

Closed Pajuris closed 9 months ago

Pajuris commented 9 months ago

Newest firmware: 1.4.0-rc.13

Logger: homeassistant.components.mqtt.mixins Source: components/mqtt/mixins.py:324 Integration: MQTT (documentation, issues) First occurred: 16:06:20 (4 occurrences) Last logged: 16:10:24

Error 'expected SensorDeviceClass or one of 'date', 'enum', 'timestamp', 'apparent_power', 'aqi', 'atmospheric_pressure', 'battery', 'carbon_monoxide', 'carbon_dioxide', 'current', 'data_rate', 'data_size', 'distance', 'duration', 'energy', 'energy_storage', 'frequency', 'gas', 'humidity', 'illuminance', 'irradiance', 'moisture', 'monetary', 'nitrogen_dioxide', 'nitrogen_monoxide', 'nitrous_oxide', 'ozone', 'ph', 'pm1', 'pm10', 'pm25', 'power_factor', 'power', 'precipitation', 'precipitation_intensity', 'pressure', 'reactive_power', 'signal_strength', 'sound_pressure', 'speed', 'sulphur_dioxide', 'temperature', 'volatile_organic_compounds', 'volatile_organic_compounds_parts', 'voltage', 'volume', 'volume_storage', 'water', 'weight', 'wind_speed' for dictionary value @ data['device_class']' when processing MQTT discovery message topic: 'homeassistant/sensor/opentherm/dhw_flow_rate/config', message: '{'availability': {'topic': 'opentherm/status'}, 'enabled_by_default': False, 'unique_id': 'opentherm_dhw_flow_rate', 'object_id': 'opentherm_dhw_flow_rate', 'entity_category': 'diagnostic', 'device_class': 'volume_flow_rate', 'state_class': 'measurement', 'unit_of_measurement': 'L/min', 'name': 'DHW flow rate', 'icon': 'mdi:water-pump', 'state_topic': 'opentherm/state', 'value_template': '{{ value_json.sensors.dhwFlowRate|float(0)|round(2) }}', 'expire_after': 120, 'device': {'identifiers': ['opentherm'], 'sw_version': '1.4.0-rc.13', 'model': 'OpenTherm Gateway', 'name': 'OpenTherm Gateway', 'configuration_url': 'http://xxx.xxx.x.xxx/'}, 'platform': 'mqtt'}'

Laxilef commented 9 months ago

On which version of Home Assistant does this occur?

Pajuris commented 9 months ago

Latest... core 2024.1.6

Laxilef commented 9 months ago

This will start working with release 2024.2. Or use the beta version of Home Assistant.

Pajuris commented 9 months ago

Thank's. Now working...