mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Remove unused import (#30858)
This commit is contained in:
parent
a93088dafb
commit
6678f8387f
@ -98,7 +98,7 @@ async def async_setup_entry(hass, entry):
|
||||
hass, entry.entry_id, ring, "update_devices", timedelta(minutes=1)
|
||||
),
|
||||
"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(
|
||||
hass,
|
||||
|
@ -1,5 +1,5 @@
|
||||
"""This component provides HA sensor support for Ring Door Bell/Chimes."""
|
||||
from datetime import datetime, timedelta
|
||||
from datetime import datetime
|
||||
import logging
|
||||
|
||||
from homeassistant.components.binary_sensor import BinarySensorDevice
|
||||
@ -10,8 +10,6 @@ from .entity import RingEntityMixin
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
SCAN_INTERVAL = timedelta(seconds=10)
|
||||
|
||||
# Sensor types: Name, category, device_class
|
||||
SENSOR_TYPES = {
|
||||
"ding": ["Ding", ["doorbots", "authorized_doorbots"], "occupancy"],
|
||||
|
Loading…
x
Reference in New Issue
Block a user