From 6a2f4ead5ee195a0262c8b79af4c73d1cac45e3a Mon Sep 17 00:00:00 2001 From: Yannic Labonte Date: Wed, 5 Jul 2023 14:01:06 +0200 Subject: [PATCH] Increase digital inputs' suggested display precision --- custom_components/proconip_pool_controller/const.py | 2 +- custom_components/proconip_pool_controller/manifest.json | 2 +- custom_components/proconip_pool_controller/sensor.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/custom_components/proconip_pool_controller/const.py b/custom_components/proconip_pool_controller/const.py index f581af8..d284d5a 100644 --- a/custom_components/proconip_pool_controller/const.py +++ b/custom_components/proconip_pool_controller/const.py @@ -5,7 +5,7 @@ NAME = "ProCon.IP Pool Controller" DOMAIN = "proconip_pool_controller" -VERSION = "1.0.1-beta.5" +VERSION = "1.0.2" ATTRIBUTION = ( "Data provided by your Pool Digital ProCon.IP (https://www.pooldigital.de)" ) diff --git a/custom_components/proconip_pool_controller/manifest.json b/custom_components/proconip_pool_controller/manifest.json index 093b567..6b05698 100644 --- a/custom_components/proconip_pool_controller/manifest.json +++ b/custom_components/proconip_pool_controller/manifest.json @@ -11,5 +11,5 @@ "requirements": [ "proconip==1.2.7" ], - "version": "1.0.1-beta.5" + "version": "1.0.2" } \ No newline at end of file diff --git a/custom_components/proconip_pool_controller/sensor.py b/custom_components/proconip_pool_controller/sensor.py index 4840322..8f46130 100644 --- a/custom_components/proconip_pool_controller/sensor.py +++ b/custom_components/proconip_pool_controller/sensor.py @@ -149,7 +149,7 @@ class ProconipDigitalInputSensor(ProconipPoolControllerEntity, SensorEntity): _attr_icon = "mdi:import" _attr_state_class = "measurement" - _attr_suggested_display_precision = 0 + _attr_suggested_display_precision = 2 def __init__( self,