Remove unused import (#30858)
This commit is contained in:
parent
a93088dafb
commit
6678f8387f
2 changed files with 2 additions and 4 deletions
|
@ -98,7 +98,7 @@ async def async_setup_entry(hass, entry):
|
||||||
hass, entry.entry_id, ring, "update_devices", timedelta(minutes=1)
|
hass, entry.entry_id, ring, "update_devices", timedelta(minutes=1)
|
||||||
),
|
),
|
||||||
"dings_data": GlobalDataUpdater(
|
"dings_data": GlobalDataUpdater(
|
||||||
hass, entry.entry_id, ring, "update_dings", timedelta(seconds=10)
|
hass, entry.entry_id, ring, "update_dings", timedelta(seconds=5)
|
||||||
),
|
),
|
||||||
"history_data": DeviceDataUpdater(
|
"history_data": DeviceDataUpdater(
|
||||||
hass,
|
hass,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
"""This component provides HA sensor support for Ring Door Bell/Chimes."""
|
"""This component provides HA sensor support for Ring Door Bell/Chimes."""
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from homeassistant.components.binary_sensor import BinarySensorDevice
|
from homeassistant.components.binary_sensor import BinarySensorDevice
|
||||||
|
@ -10,8 +10,6 @@ from .entity import RingEntityMixin
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
SCAN_INTERVAL = timedelta(seconds=10)
|
|
||||||
|
|
||||||
# Sensor types: Name, category, device_class
|
# Sensor types: Name, category, device_class
|
||||||
SENSOR_TYPES = {
|
SENSOR_TYPES = {
|
||||||
"ding": ["Ding", ["doorbots", "authorized_doorbots"], "occupancy"],
|
"ding": ["Ding", ["doorbots", "authorized_doorbots"], "occupancy"],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue