Skip to content

Commit

Permalink
entity name includes model name and mac address suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
AznDibs committed Feb 15, 2024
1 parent c3b32e1 commit 51d153a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/govee-ble-lights/light.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def effect_list(self) -> list[str] | None:
@property
def name(self) -> str:
"""Return the name of the switch."""
return "GOVEE Light"
return self._model + "-" + self._mac[-4:]#"GOVEE Light"

@property
def unique_id(self) -> str:
Expand Down

0 comments on commit 51d153a

Please sign in to comment.