This commit is contained in:
不求圣剑
2026-02-04 14:09:53 +08:00
parent 518ad6336e
commit fcf504df6f
2 changed files with 320 additions and 75 deletions

View File

@@ -87,7 +87,7 @@ class JackeryPlugSwitch(SwitchEntity):
self._coordinator = coordinator
self._raw_data = {}
self._attr_name = f"Plug {plug_sn} Switch"
self._attr_name = "Switch"
self._attr_unique_id = f"jackery_plug_{plug_sn}_switch"
self._attr_has_entity_name = True