Fixed update() method and removed ding feature from stickupcams/floodlight (#10428)

* Simplified URL expiration calculation and fixed refresh method

* Remove support from Ring from StickupCams or floodlight cameras

* Makes lint happy

* Removed unecessary attributes
This commit is contained in:
Marcelo Moreira de Mello
2017-11-08 19:01:20 -05:00
committed by Pascal Vizeli
parent 2fff065b2c
commit 2118ab2503
3 changed files with 18 additions and 16 deletions

View File

@@ -27,7 +27,7 @@ SCAN_INTERVAL = timedelta(seconds=5)
# Sensor types: Name, category, device_class
SENSOR_TYPES = {
'ding': ['Ding', ['doorbell', 'stickup_cams'], 'occupancy'],
'ding': ['Ding', ['doorbell'], 'occupancy'],
'motion': ['Motion', ['doorbell', 'stickup_cams'], 'motion'],
}