Report unavailability for yolink sensor and binary_sensor (#100743)

This commit is contained in:
hlyi 2023-10-01 06:21:26 -05:00 committed by GitHub
parent fd1f0b0efe
commit 9306e60530
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 2 deletions

View file

@ -8,3 +8,4 @@ ATTR_DEVICE_NAME = "name"
ATTR_DEVICE_STATE = "state"
ATTR_DEVICE_ID = "deviceId"
YOLINK_EVENT = f"{DOMAIN}_event"
YOLINK_OFFLINE_TIME = 32400