Proto file types/unit.proto
Temperature
A temperature value
Field Name | Type | Description |
---|---|---|
value_celsius | double | The value in celsius, always! Use device attributes if the device 'thinks' in a different unit but always communicate in celsius. |
AudioLevel
Represents an audio signal level for either input or output devices. Typically if fine grained control of either gain or muted is required then a FieldMask should describe this.
Field Name | Type | Description |
---|---|---|
gain | float | The current gain, typically as a percentage unless documented in the AudioLevel usage. |
gain_tween | smartcore.types.Tween | How the gain changes or should change over time. On write only duration should be set. |
target_gain | float | Read-only, the target value for the gain during a transition |
muted | bool | If the audio level muted. |
AudioLevelChange
A change to the audio level
Field Name | Type | Description |
---|---|---|
name | string | The name of the device that is the source of the change |
change_time | google.protobuf.Timestamp | When the change was applied |
level | AudioLevel | The new state for the change |
TemperatureUnit
Possible temperature units for physical bodies.
Name | Number | Description |
---|---|---|
TEMPERATURE_UNIT_UNSPECIFIED | 0 | |
CELSIUS | 1 | |
FAHRENHEIT | 2 | |
KELVIN | 3 |
MuteSupport
What is the level of mute support that the speaker provides
Name | Number | Description |
---|---|---|
MUTE_SUPPORT_UNSPECIFIED | 0 | |
MUTE_NATIVE | 1 | The speaker natively supports mute |
MUTE_EMULATED | 2 | Muting is emulated, typically by setting the gain to 0 |