Use explicit device naming for Switchbot (#96011)

Use explicit entity naming for Switchbot
pull/96029/head
Joost Lekkerkerker 2023-07-06 23:01:06 +02:00 committed by GitHub
parent 99430ceb34
commit e94726ec84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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