Closed Bascht74 closed 10 months ago
Hey there @emontnemery, mind taking a look at this issue as it has been labeled with an integration (tasmota
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
tasmota documentation tasmota source (message by IssueLinks)
Hello, Same issue on Sonoff Nspanel flashed on Tasmota
The Tasmota integration trues to guess the type of sensor based on the sensors's name, it will map a Tasmota sensor named "Temperature" to Home Assistant device class temperature
, but it does not know about "analog temperature".
Could you share the Tasmota's MQTT discovery message for the shelly plus 2pm please?
From command line:
mosquitto_sub -h <mqtt_broker> -v -t "tasmota/#"
Hello @emontnemery
For the NsPanel :
mosquitto_sub -h <host> -u <user> -P <password> -v -t "tasmota/#"
tasmota/discovery/<snipped>/config {"ip":"<snipped>","dn":"<snipped>","fn":["<snipped>","",null,null,null,null,null,null],"hn":"<snipped>","mac":"<snipped>","md":"NSPanel","ty":0,"if":0,"ofln":"Offline","onln":"Online","state":["OFF","ON","TOGGLE","HOLD"],"sw":"13.1.0","t":"<snipped>","ft":"%prefix%/%topic%/","tp":["cmnd","stat","tele"],"rl":[1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"swc":[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],"swn":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"btn":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"so":{"4":0,"11":0,"13":0,"17":0,"20":0,"30":0,"68":0,"73":0,"82":0,"114":0,"117":0},"lk":0,"lt_st":0,"bat":0,"dslp":0,"sho":[],"sht":[],"ver":1}
tasmota/discovery/<snipped>/sensors {"sn":{"Time":"2023-09-07T22:44:41","ANALOG":{"Temperature1":26.5},"TempUnit":"C"},"ver":1}
Thanks
Thanks! How is the device configured? Could you maybe show the output of the module
+ template
commands?
Module
{"Module":{"0":"NSPanel"}}
Template
{"NAME":"NSPanel","GPIO":[0,0,0,0,3872,0,0,0,0,0,32,0,0,0,0,225,0,480,224,1,0,0,0,33,0,0,0,0,0,0,0,0,0,0,4736,0],"FLAG":0,"BASE":1}
Fixed by https://github.com/emontnemery/hatasmota/pull/252 which is included in https://github.com/home-assistant/core/pull/100169 The fix will be included in Home Assistant Core 2023.9.2
The problem
Hi,
I use both shelly 2.5pm and shelly plus 2pm. With plus 2pm for the entity "analog_temperature" there is no device class, unit of measurement set. See screenshots below
What version of Home Assistant Core has the issue?
core-2023.7.0
What was the last working version of Home Assistant Core?
not sure
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Tasmota
Link to integration documentation on our website
https://www.home-assistant.io/integrations/tasmota/
Diagnostics information
I am not able to download tasmota diagnostics, it downloads a "unifi" diagnostic file.
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
entity plus 2pm:
entity 2.5pm