MisterWil / abodepy

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

Add ability to remove device callback #52

Closed shred86 closed 4 years ago

shred86 commented 4 years ago

Need the ability to remove a device callback for Home Assistant entity registry when a device is disabled via the UI. Implementation is essentially the same as add_device_callback, however there isn't a need to pass in the actual callback since we're simply removing the device_id key from self._device_callbacks.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-1.0%) to 78.628% when pulling 8c5766a9eeedd312d9767cab5681961e1363fb99 on shred86:remove_callback into e1817a1af71fe358be6c9c5c9e02ad85889c8eb8 on MisterWil:master.