mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 14:27:07 +00:00
Increase range of valid source IDs in nad (#72086)
nad: Increase max source ID to 12 Tested on a NAD C658 with an MDC HDM-2 card installed.
This commit is contained in:
parent
272e65f56d
commit
c4f6fcc3d2
@ -45,7 +45,8 @@ CONF_MAX_VOLUME = "max_volume"
|
||||
CONF_VOLUME_STEP = "volume_step" # for NADReceiverTCP
|
||||
CONF_SOURCE_DICT = "sources" # for NADReceiver
|
||||
|
||||
SOURCE_DICT_SCHEMA = vol.Schema({vol.Range(min=1, max=10): cv.string})
|
||||
# Max value based on a C658 with an MDC HDM-2 card installed
|
||||
SOURCE_DICT_SCHEMA = vol.Schema({vol.Range(min=1, max=12): cv.string})
|
||||
|
||||
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user