Add Plex scan_clients button, enable autoscan (#67055)
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
This commit is contained in:
parent
d5a2381f07
commit
1658d530e1
6 changed files with 129 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
|||
"""Constants for the Plex component."""
|
||||
from datetime import timedelta
|
||||
|
||||
from homeassistant.const import Platform, __version__
|
||||
|
||||
DOMAIN = "plex"
|
||||
|
@ -12,11 +14,12 @@ DEFAULT_VERIFY_SSL = True
|
|||
|
||||
PLEXTV_THROTTLE = 60
|
||||
|
||||
CLIENT_SCAN_INTERVAL = timedelta(minutes=10)
|
||||
DEBOUNCE_TIMEOUT = 1
|
||||
DISPATCHERS = "dispatchers"
|
||||
GDM_DEBOUNCER = "gdm_debouncer"
|
||||
GDM_SCANNER = "gdm_scanner"
|
||||
PLATFORMS = frozenset([Platform.MEDIA_PLAYER, Platform.SENSOR])
|
||||
PLATFORMS = frozenset([Platform.BUTTON, Platform.MEDIA_PLAYER, Platform.SENSOR])
|
||||
PLATFORMS_COMPLETED = "platforms_completed"
|
||||
PLAYER_SOURCE = "player_source"
|
||||
SERVERS = "servers"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue