We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76eff69 commit f31ffedCopy full SHA for f31ffed
src/led_ble/led_ble.py
@@ -427,7 +427,10 @@ def effect_list(self) -> list[str]:
427
@property
428
def dream(self) -> bool:
429
"""Return if the device is a dream."""
430
- return self.model_num in (0x10,)
+ return self.model_num in (0x10,) or (
431
+ self._advertisement_data is not None
432
+ and self._advertisement_data.local_name.startswith("Dream")
433
+ )
434
435
436
def effect(self) -> str | None:
0 commit comments