diff --git a/custom_components/kamstrup_403/sensor.py b/custom_components/kamstrup_403/sensor.py index 930bc45..bb20c79 100644 --- a/custom_components/kamstrup_403/sensor.py +++ b/custom_components/kamstrup_403/sensor.py @@ -184,18 +184,21 @@ name="Infoevent", icon="mdi:eye", entity_category=EntityCategory.DIAGNOSTIC, + suggested_display_precision=0, ), SensorEntityDescription( key="113", # 0x0071 name="Infoevent counter", icon="mdi:eye", entity_category=EntityCategory.DIAGNOSTIC, + suggested_display_precision=0, ), SensorEntityDescription( key="1001", # 0x03E9 name="Serial number", icon="mdi:barcode", entity_category=EntityCategory.DIAGNOSTIC, + suggested_display_precision=0, ), SensorEntityDescription( key="1004", # 0x03EC @@ -203,6 +206,7 @@ icon="mdi:timer-sand", state_class=SensorStateClass.TOTAL_INCREASING, entity_category=EntityCategory.DIAGNOSTIC, + suggested_display_precision=0, ), ] diff --git a/hacs.json b/hacs.json index e686091..595d918 100644 --- a/hacs.json +++ b/hacs.json @@ -1,5 +1,5 @@ { "name": "Kamstrup 403", - "homeassistant": "2022.11.0", + "homeassistant": "2023.3.0", "render_readme": true } \ No newline at end of file