You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the EnvironmentSensorAttributes class in environment_sensor.py could you please add = None to the optional attributes as below? It's to resolve field 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.
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.
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.The text was updated successfully, but these errors were encountered: