43 lines
1.2 KiB
Python
43 lines
1.2 KiB
Python
from ha_deconz_bridge.groups import GroupMemberSpec, GroupSpec
|
|
|
|
from configs.example_controllers import DAYLIGHT_MIREDS
|
|
|
|
|
|
GROUPS: dict[str, GroupSpec] = {
|
|
"Example Hall": GroupSpec(
|
|
name="Example Hall",
|
|
members=("Example Hall Floor", "Example Hall Corner", "Example Hall Cabinets"),
|
|
),
|
|
"Example Kitchen": GroupSpec(
|
|
name="Example Kitchen",
|
|
members=("Example Kitchen Counter",),
|
|
),
|
|
"Example Bathroom": GroupSpec(
|
|
name="Example Bathroom",
|
|
members=("Example Bathroom Ceiling", "Example Bathroom Mirror"),
|
|
),
|
|
"Example Bedroom": GroupSpec(
|
|
name="Example Bedroom",
|
|
members=("Example Bedroom West", "Example Bedroom East"),
|
|
),
|
|
"Example Living": GroupSpec(
|
|
name="Example Living",
|
|
members=(
|
|
"Example Fixed White A",
|
|
"Example Fixed White B",
|
|
"Example Mixed North",
|
|
"Example Plug A",
|
|
"Example Plug B",
|
|
),
|
|
),
|
|
"Example Plant": GroupSpec(
|
|
name="Example Plant",
|
|
members=(
|
|
"Example Fixed White A",
|
|
"Example Fixed White B",
|
|
GroupMemberSpec("Example Mixed North", fixed_color=DAYLIGHT_MIREDS),
|
|
),
|
|
balance="relative_member",
|
|
),
|
|
}
|