Add Ruckus Unleashed integration (#40002)
* Add Ruckus Unleashed integration * Tweak catches to better rely on CoordinatorEntity error handling, rename LoginError to AuthenticationError * Make router_update be a callback function * Make name property return hint match the newer value * Add entity to tracked set when restoring on boot * Add a device's MAC to the attributes
This commit is contained in:
parent
de300ddd56
commit
4b617db669
16 changed files with 690 additions and 0 deletions
13
homeassistant/components/ruckus_unleashed/const.py
Normal file
13
homeassistant/components/ruckus_unleashed/const.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
"""Constants for the Ruckus Unleashed integration."""
|
||||
import logging
|
||||
|
||||
DOMAIN = "ruckus_unleashed"
|
||||
PLATFORMS = ["device_tracker"]
|
||||
SCAN_INTERVAL = 180
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
COORDINATOR = "coordinator"
|
||||
UNDO_UPDATE_LISTENERS = "undo_update_listeners"
|
||||
|
||||
CLIENTS = "clients"
|
Loading…
Add table
Add a link
Reference in a new issue