Revert "Add support for unit of measurement to HA number entities (#9312)" (#9329)

This reverts commit b08ce534c8.
This commit is contained in:
Koen Kanters
2021-10-25 17:54:18 +02:00
committed by GitHub
parent b08ce534c8
commit 498a5b3f32
-1
View File
@@ -617,7 +617,6 @@ export default class HomeAssistant extends Extension {
command_topic_postfix: firstExpose.property,
min: firstExpose.value_min ? firstExpose.value_min : -65535,
max: firstExpose.value_max ? firstExpose.value_max : 65535,
...(firstExpose.unit && {unit_of_measurement: firstExpose.unit}),
...lookup[firstExpose.name],
},
};