Allow switches to be represented as outlets on google assistant (#23149)
* Add device class support for switch to support outlet type * Add a test for cover device class sync * Drop remnant unused import
This commit is contained in:
1 parent
e02a5f0b31
commit
1bfccd803f
5 files changed
+70
-1
No files matched your search
@@ -31,6 +31,7 @@ TYPE_THERMOSTAT = PREFIX_TYPES + 'THERMOSTAT'
|
||||
TYPE_LOCK = PREFIX_TYPES + 'LOCK'
|
||||
TYPE_BLINDS = PREFIX_TYPES + 'BLINDS'
|
||||
TYPE_GARAGE = PREFIX_TYPES + 'GARAGE'
|
||||
TYPE_OUTLET = PREFIX_TYPES + 'OUTLET'
|
||||
|
||||
SERVICE_REQUEST_SYNC = 'request_sync'
|
||||
HOMEGRAPH_URL = 'https://homegraph.googleapis.com/'
|
||||
|
||||
Reference in new issue
Block a user