This seems to be a requirement of HA now.
@@ -9,6 +9,7 @@ primary_entity:
- id: 2
name: temperature
type: integer
+ unit: C
range:
min: 50
max: 400