Use explicit device naming for Switchbot (#96011)

Use explicit entity naming for Switchbot
This commit is contained in:
Joost Lekkerkerker
2023-07-06 23:01:06 +02:00
committed by GitHub
parent 99430ceb34
commit e94726ec84

View File

@@ -122,6 +122,7 @@ class SwitchBotBlindTiltEntity(SwitchbotEntity, CoverEntity, RestoreEntity):
| CoverEntityFeature.STOP_TILT
| CoverEntityFeature.SET_TILT_POSITION
)
_attr_name = None
_attr_translation_key = "cover"
CLOSED_UP_THRESHOLD = 80
CLOSED_DOWN_THRESHOLD = 20