mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-11 22:34:04 +02:00
fix doc-string
This commit is contained in:
parent
5663a7b1a9
commit
31da53182f
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ _DOMAIN_SCHEMA = vol.Schema(
|
|||
|
||||
|
||||
def _all_unique_profiles(value):
|
||||
"""Validate that each hub configured has a unique profiles."""
|
||||
"""Validate that all enties have a unique profile name."""
|
||||
hosts = [device[CONF_PROFILE] for device in value]
|
||||
schema = vol.Schema(vol.Unique())
|
||||
schema(hosts)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue