Closed famichiki closed 1 week ago
Thanks for adding this issue. I see the same. Unfortunately the sensor added causes the module to crash even sensor is not called. Just added in Dirigera. Did you find a way arround until added here? Added: If I follow your suggestion the Enviroment sensor will not work. The temperature and RH will have same name.
Which sensor are you using and can you post the message data received here?
I am using "Vindstyrka" which works fine as enviromental sensor. When adding the Sonoff SNZB-02P it crashes because it also shows up as enviromental sensor but the variablel names are a bit different for temperature and RH.
In the
EnvironmentSensorAttributes
class inenvironment_sensor.py
could you please add= None
to the optional attributes as below? It's to resolvefield required
when getting third-party sensors that don't support PM2.5 ov VOC. I get this error with the Sonoff temperature/humidity sensors. Thanks.