I recently upgraded to 0.87 and suddenly my mqtt sensor that’s worked for days isn’t. I get the error below. Here is a snippet of my sensors.yaml below too. This literally worked without fault on 0.86. If I comment out the “unit_of_measurement” line the config check passes.
sensors.yaml
- platform: mqtt
name: "BackDoor Battery Level"
unique_id: "BackDoorBatteryLevel"
icon: mdi:battery
device_class: battery
unit_of_measurment: "%"
state_topic: homeseer/Back_Door/Door_Lock/Battery
- platform: mqtt
name: "Basement Smart Switch Watts"
unique_id: "BasementSmartSwitchWatts"
icon: mdi:power-plug
state_topic: "homeseer/Basement/Smart_Switch/Watts"
Error:
invalid config for [sensor.mqtt]: [unit_of_measurment] is an invalid option for [sensor.mqtt]. Check: sensor.mqtt->unit_of_measurment. (See ?, line ?). Please check the docs at MQTT Sensor - Home Assistant