Trying to add my Apple watch as an MQTT sensor. I installed ESPresense onto a ESP32 board. I enrolled my device. I use MQTT Explorer and see my device, but when I create the custom sensor in mqtt.yaml and reload “Manually Configured MQTT Enties” I get an error to check my logs - in my logs I’m getting the below error
- [546897579312] Invalid config for ‘sensor’ at mqtt.yaml, line 2: ‘device_id’ is an invalid option for ‘sensor’, check: device_id, please check the docs at MQTT - Home Assistant
My mqtt.yaml is below
sensor:
- name: "Apple Watch Josh"
device_id: "watch:apple-joshua"
state_topic: "espresense/devices/watch:apple-joshua"
Any help would greatly be appreciated