MisterWil / abodepy

A thin Python wrapper for the Abode alarm API
MIT License
50 stars 17 forks source link

Ability to hide "Got device update for unknown device..." from logs? #27

Closed shred86 closed 6 years ago

shred86 commented 6 years ago

Is there any way to hide the following messages from my Home Assistant logs without hiding all warning messages?

2018-02-20 18:56:53 WARNING (SocketIOThread) [abodepy.event_controller] Got device update for unknown device: XXX

They are coming from my Nest devices that are integrated with Abode but I don't want integrated with Home Assistant.

MisterWil commented 6 years ago

Changed the warning statement to a debug statement - fixed in abodepy-0.12.3

shred86 commented 6 years ago

I'm running 0.12.3 but it still seems I'm getting the messages. I checked my event_controller.py file and it's still a warning statement. Any chance this change didn't make it to the PyPi library (not exactly sure how that works).

MisterWil commented 6 years ago

Yeah... funny story: I changed the warning on initial device lookup to a debug statement instead of this one. Whoops! I fixed it now in a different branch and it'll be in the next version.

MisterWil commented 6 years ago

Should actually have fixed this now in v0.13.1 :-)