Skip to content

Commit

Permalink
philips_bulb: as most known devices seem to support cct, let's defaul…
Browse files Browse the repository at this point in the history
…t to it if no model is given
  • Loading branch information
rytilahti committed Dec 13, 2021
1 parent 97554de commit c879c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miio/philips_bulb.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def status(self) -> PhilipsBulbStatus:
"""Retrieve properties."""

properties = AVAILABLE_PROPERTIES.get(
self.model, AVAILABLE_PROPERTIES[MODEL_PHILIPS_LIGHT_HBULB]
self.model, AVAILABLE_PROPERTIES[MODEL_PHILIPS_LIGHT_BULB]
)
values = self.get_properties(properties)

Expand Down

0 comments on commit c879c6d

Please sign in to comment.