set device_class on kitchen temp

This commit is contained in:
Jonas Forsberg 2022-07-23 11:20:16 +02:00
parent e86638d38f
commit 2f56ae3284
No known key found for this signature in database
GPG Key ID: F2E9818C70350CC9

View File

@ -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