I decide to do so much needed clean up on my config to remove some of the nags/ errors in the logs with deprectated/ updated integrations and started with updating the mqtt device tracker as its throwing syntax errors in the log although it still works.
My origional config is this, and it works:
- platform: mqtt
devices:
person1_phone: "location/person1"
person2_phone: "location/person2"
qos: 1
payload_home: "home"
payload_not_home: "not_home"
source_type: router
My updated config in the new format as per the docs here does not work:
- mqtt:
device_tracker:
qos: 1
payload_home: "home"
payload_not_home: "not_home"
source_type: router
- name: "person1_phone"
state_topic: "location/person1"
- name: "person2_phone"
state_toppic: "location/person2"
to be specific when I say it does not work, I can see the topics updating in MQTT but Home Assistant is not updating the associated states - its like its not seeing the topic?!?!
What am i missing?