diff --git a/custom_components/ferroamp_portal/manifest.json b/custom_components/ferroamp_portal/manifest.json index 3224f50..2c6325d 100644 --- a/custom_components/ferroamp_portal/manifest.json +++ b/custom_components/ferroamp_portal/manifest.json @@ -4,7 +4,7 @@ "documentation": "https://github.com/bj00rn/ha-ferroamp-portal", "iot_class": "local_push", "issue_tracker": "https://github.com/bj00rn/ha-ferroamp-portal", - "version": "0.0.1", + "version": "0.0.2", "config_flow": true, "codeowners": [ "@bj00rn" diff --git a/custom_components/ferroamp_portal/sensor.py b/custom_components/ferroamp_portal/sensor.py index 229fa26..c45677e 100644 --- a/custom_components/ferroamp_portal/sensor.py +++ b/custom_components/ferroamp_portal/sensor.py @@ -49,8 +49,8 @@ def native_value(self): name="EV Active power", device_class=SensorDeviceClass.POWER, native_unit_of_measurement=UnitOfPower.WATT, - suggested_display_precision=1, - suggested_unit_of_measurement=UnitOfPower.KILO_WATT, + # suggested_display_precision=1, + # suggested_unit_of_measurement=UnitOfPower.KILO_WATT, ), }, "energyActiveMeter": { @@ -62,8 +62,8 @@ def native_value(self): device_class=SensorDeviceClass.ENERGY, native_unit_of_measurement=UnitOfEnergy.WATT_HOUR, state_class=SensorStateClass.TOTAL_INCREASING, - suggested_display_precision=1, - suggested_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR, + # suggested_display_precision=1, + # suggested_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR, ), }, "currentL1": { @@ -74,7 +74,7 @@ def native_value(self): name="EV Current L1", device_class=SensorDeviceClass.CURRENT, native_unit_of_measurement=UnitOfElectricCurrent.AMPERE, - suggested_display_precision=1, + # suggested_display_precision=1, ), }, "currentL2": { @@ -85,7 +85,7 @@ def native_value(self): name="EV Current L2", device_class=SensorDeviceClass.CURRENT, native_unit_of_measurement=UnitOfElectricCurrent.AMPERE, - suggested_display_precision=1, + # suggested_display_precision=1, ), }, "currentL3": { @@ -96,7 +96,7 @@ def native_value(self): name="EV Current L3", device_class=SensorDeviceClass.CURRENT, native_unit_of_measurement=UnitOfElectricCurrent.AMPERE, - suggested_display_precision=1, + # suggested_display_precision=1, ), }, }