Use Python3 new super syntax sugar (#26890)

This commit is contained in:
Franck Nijhof authored and Paulus Schoutsen committed 2019-09-24 15:38:20 -07:00
1 parent 6fdff9ffab
commit 9c9c921922
26 files changed
+30 -30

No files matched your search

@@ -65,7 +65,7 @@ class RingBinarySensor(BinarySensorDevice):
def __init__(self, hass, data, sensor_type):
"""Initialize a sensor for Ring device."""
super(RingBinarySensor, self).__init__()
super().__init__()
self._sensor_type = sensor_type
self._data = data
self._name = "{0} {1}".format(