Add support for Tuya non-standard contact sensors (#115557)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Douglas Krahmer 2024-06-11 09:09:57 -07:00 committed by GitHub
parent c907912dd1
commit e6df0be072
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 13 additions and 0 deletions

View file

@ -113,6 +113,7 @@ class DPCode(StrEnum):
BASIC_OSD = "basic_osd"
BASIC_PRIVATE = "basic_private"
BASIC_WDR = "basic_wdr"
BATTERY = "battery" # Used by non-standard contact sensor implementations
BATTERY_PERCENTAGE = "battery_percentage" # Battery percentage
BATTERY_STATE = "battery_state" # Battery state
BATTERY_VALUE = "battery_value" # Battery value