From 2f56ae32843b1478ed411f9c0dc4b72c74cd3f8b Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Sat, 23 Jul 2022 11:20:16 +0200 Subject: [PATCH] set device_class on kitchen temp --- sensors/rfxcom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/sensors/rfxcom.yaml b/sensors/rfxcom.yaml index 1655301..81c34f9 100644 --- a/sensors/rfxcom.yaml +++ b/sensors/rfxcom.yaml @@ -2,6 +2,7 @@ name: kitchen_temp state_topic: rfxcom/kitchen unit_of_measurement: "C" + device_class: temperature json_attributes_template: "{{ value_json.status }}" value_template: "{{ value_json.payload.temperature.value }}" - platform: mqtt