43 lines
1.1 KiB
Python
43 lines
1.1 KiB
Python
from ha_deconz_bridge.groups import GroupMemberSpec, GroupSpec
|
|
|
|
from controllers import DAYLIGHT_MIREDS
|
|
|
|
|
|
GROUPS: dict[str, GroupSpec] = {
|
|
"Hallway": GroupSpec(
|
|
name="Hallway",
|
|
members=("Hallway Floor Light", "Hallway Corner Light", "Hallway Cabinet Lights"),
|
|
),
|
|
"Kitchen": GroupSpec(
|
|
name="Kitchen",
|
|
members=("Kitchen Counter Lights",),
|
|
),
|
|
"Bathroom": GroupSpec(
|
|
name="Bathroom",
|
|
members=("Bathroom Ceiling Light", "Bathroom Mirror Light"),
|
|
),
|
|
"Bedroom": GroupSpec(
|
|
name="Bedroom",
|
|
members=("Bedroom Left Lamp", "Bedroom Right Lamp"),
|
|
),
|
|
"Living Room": GroupSpec(
|
|
name="Living Room",
|
|
members=(
|
|
"Plant Light Left",
|
|
"Plant Light Right",
|
|
"Living Room Ceiling",
|
|
"Floor Lamp Plug",
|
|
"Desk Lamp Plug",
|
|
),
|
|
),
|
|
"Plant Lights": GroupSpec(
|
|
name="Plant Lights",
|
|
members=(
|
|
"Plant Light Left",
|
|
"Plant Light Right",
|
|
GroupMemberSpec("Living Room Ceiling", fixed_color=DAYLIGHT_MIREDS),
|
|
),
|
|
balance="relative_member",
|
|
),
|
|
}
|