-
Notifications
You must be signed in to change notification settings - Fork 3
Devices Managment Devices
Google Home and Alexa supports different devices types, this depends from their API system. Here a list of device type that can be set in type
device property and the related Shadow document reported/desired property.
In case the device type in not supported by home assistant it will not present in discovery/sync response.
Supported by: Google Home
Shadow:
{
"state" : {
"reported" : {
"on": false
}
}
}
on: boolean, true
if on, false
if is off.
Supported by: Alexa
Shadow:
{
"state" : {
"reported" : {
"open": false
}
}
}
open: boolean, false
if the contact is detected, true
otherwise.
Supported by: Alexa
Shadow:
{
"state" : {
"reported" : {
"detected": false
}
}
}
detected: boolean, true
if the motion is detected, false
otherwise.
Supported by: Alexa
Shadow:
{
"state" : {
"reported" : {
"locked": false
}
}
}
locked: boolean, true
if locked, false
otherwise.
Supported by: Google Home and Alexa
Shadow:
{
"state" : {
"reported" : {
"on": false
}
}
}
on: boolean, true
if on, false
otherwise.
Supported by: Google Home and Alexa
Shadow:
{
"state" : {
"reported" : {
"on": false
}
}
}
on: boolean, true
if the light is on, false
otherwise.
Supported by: Google Home and Alexa
Shadow:
{
"state" : {
"reported" : {
"on": false,
"brightness": 20
}
}
}
on: boolean, true
if the light is on, false
otherwise.
brightness: integer, the light's brightness level, from 0 to 100.
Supported by: Google Home and Alexa
Shadow:
{
"state" : {
"reported" : {
"on": false,
"brightness": 20,
"color": {
"r": 255,
"g": 0,
"b": 0
}
}
}
}
on: boolean, true
if the light is on, false
otherwise.
brightness: integer, the light's brightness level, from 0 to 100.
color: object, an object that represent the color in RBG format.
Supported by: Google Home and Alexa
Shadow:
{
"state" : {
"reported" : {
"on": false
}
}
}
on: boolean, true
if the power is on, false
otherwise.
Supported by: Google Home and Alexa
Shadow:
{
"state" : {
"reported" : {
"temperature": 20,
"humidity": 40
}
}
}
temperature: float, the temperature value (celsius or farenight, based on temperatureUnit attribute) humidity: float, the humidity value (supported only by Google Home)
Additional Thing's attribute:
temperatureUnit: string, C
for celsius, F
for farenight (default celsius)
Supported by: Google Home and Alexa
Shadow:
{
"state" : {
"reported" : {
"temperature": 24,
"humidity": 50,
"temperatureSetpoint": 21,
"mode": "cool"
}
}
}
temperature: float, the ambient temperature value (celsius or farenight, based on temperatureUnit attribute)
humidity: float, the ambient humidity value (supported only by Google Home)
temperatureSetpoint: float, the temperature value desired
mode: string, current thermostat mode, must be present in availableThermostatModes
list.
Additional Thing's attribute:
temperatureUnit: string, C
for celsius, F
for farenight (default celsius)
bufferRangeCelsius: integer, number of degree to increase or decrease when asking "colder" or "hotter"
availableThermostatModes: string, comma-separated list of supported thermostat modes
Not every modes are supported by Alexa (follow this link, use the value in lowercase) or Google Home (follow this link)
Supported by: Google Home
Shadow:
{
"state" : {
"reported" : {
"running": true,
"paused": false,
"zones": [
"front",
"back"
]
}
}
}
running: boolean, true
if sprinkler are running, false
otherwise.
paused: boolean, true
if paused, false
otherwise (default true).
zones: array of string, the current active zones
Additional Thing's attribute:
pausable: string, true
for enable, false
otherwise
zones: string, comma-separated list of supported zones