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