set device_class on kitchen temp
This commit is contained in:
parent
e86638d38f
commit
2f56ae3284
@ -2,6 +2,7 @@
|
|||||||
name: kitchen_temp
|
name: kitchen_temp
|
||||||
state_topic: rfxcom/kitchen
|
state_topic: rfxcom/kitchen
|
||||||
unit_of_measurement: "C"
|
unit_of_measurement: "C"
|
||||||
|
device_class: temperature
|
||||||
json_attributes_template: "{{ value_json.status }}"
|
json_attributes_template: "{{ value_json.status }}"
|
||||||
value_template: "{{ value_json.payload.temperature.value }}"
|
value_template: "{{ value_json.payload.temperature.value }}"
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
|
Loading…
Reference in New Issue
Block a user