Open reubn opened 3 weeks ago
Hi, I'll use your quick fix solution until I can look in to it further, just released dev_B0 0.9.8.0 as per the main forum https://community.home-assistant.io/t/visonic-powermax-and-powermaster-integration/316702/538
Thanks for the comment, please give the release a try Dave
I've just created a HACS Master release 0.9.9.3. Can you check it out and try it and let me know if this is still a problem please?
Thanks for all the time and effort you've put into this!
Just a quick issue that doesn't require much investigation.
v0.9.7.10
I've disabled one of my motion sensor entities in HA. The integration now errors and loses the connection as a result. When the entity is disabled, the
VisonicBinarySensor
doesn't initialise withself.hass
, therefore causing the error.Full Log
Quick fix is to check that
self.hass
is defined, but you may want to make use of the entity registry to check the disabled status before adding the sensor entity e.g. here