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 Paulus Schoutsen
parent 30bd92c851
commit fe2e0c44c8
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'],
}