@@ -45,6 +45,7 @@ class BrandConfig:
45
45
api_key_header : str
46
46
branding_header : str
47
47
api_key : str
48
+ supports_doorbells : bool
48
49
49
50
50
51
HEADER_VALUE_API_KEY_OLD = "7cab4bbd-2693-4fc1-b99b-dec0fb20f9d4"
@@ -66,6 +67,7 @@ class BrandConfig:
66
67
api_key_header = HEADER_AUGUST_API_KEY ,
67
68
branding_header = HEADER_AUGUST_BRANDING ,
68
69
api_key = HEADER_VALUE_API_KEY ,
70
+ supports_doorbells = True ,
69
71
),
70
72
Brand .YALE_ACCESS : BrandConfig (
71
73
name = "Yale Access" ,
@@ -74,6 +76,7 @@ class BrandConfig:
74
76
api_key_header = HEADER_AUGUST_API_KEY ,
75
77
branding_header = HEADER_AUGUST_BRANDING ,
76
78
api_key = HEADER_VALUE_API_KEY ,
79
+ supports_doorbells = True ,
77
80
),
78
81
Brand .YALE_HOME : BrandConfig (
79
82
name = "Yale Home" ,
@@ -82,6 +85,7 @@ class BrandConfig:
82
85
api_key_header = HEADER_API_KEY ,
83
86
branding_header = HEADER_BRANDING ,
84
87
api_key = HEADER_VALUE_API_KEY ,
88
+ supports_doorbells = True ,
85
89
),
86
90
Brand .YALE_GLOBAL : BrandConfig (
87
91
name = "Yale Global" ,
@@ -93,6 +97,7 @@ class BrandConfig:
93
97
# having the API key in the code because it must
94
98
# run on the user's device
95
99
api_key = "d16a1029-d823-4b55-a4ce-a769a9b56f0e" ,
100
+ supports_doorbells = False ,
96
101
),
97
102
}
98
103
0 commit comments