#could anyone help me with the template
1 messages ยท Page 1 of 1 (latest)
i see a value in reading mqtt:
0.42```
sensor:
- name: "Energy Usage"
state_topic: "mpmw/total_battery"
state_class: "total"
device_class: "energy"
unit_of_measurement: "kWh"```
but even with that i never get a sensor created or value set
Have you restarted HA?
i did a reload of config - does it need a full restart?
Yes
๐คฆ๐ปโโ๏ธ i've been at this all day, if it's that i'll go mad
still not seeing it
what's the best way to debug? as i see the mqtt message coming in when i sub the mqtt stream
0.41
QoS: 0 - Retain: false```
Not seeing what? The sensor?
oh i'm also an idiot, i removed the made up id so it named it iself and it's different
in the config.yaml, can i create a unique id for it?
sensor:
- name: "Energy Usage"
unique_id: "mpmw_total_battery"
state_topic: "mpmw/total_battery"
state_class: "total"
device_class: "energy"
unit_of_measurement: "kWh"
is that a thing?
my day is guessing even after reading ๐