Add the party board card (1a) read-only

Add the party board card (1a) read-only
This commit was merged in pull request #125.
This commit is contained in:
2026-09-20 12:39:47 -04:00
parent 89f517b3ad
commit 1911b2bf6e
6 changed files with 1923 additions and 220 deletions
@@ -135,6 +135,17 @@ class NestQuestPresentTodaySensor(_NestQuestChildBinarySensor):
return None
return child.present
@property
def extra_state_attributes(self) -> dict[str, Any] | None:
"""Base attributes plus, for a child away today, the ISO date
of their next present day (the panel's away plate renders
``Returns <weekday>, <Mon D>`` from it)."""
base = super().extra_state_attributes
if base is None:
return None
child = self._child
return {**base, "next_present": child.next_present if child else None}
def _child_binary_sensors(
coordinator: NestQuestCoordinator, child: ChildDaySnapshot