package
Version:
v0.0.0-...-d0bc179
Opens a new window with list of versions in this module.
Published: Nov 17, 2020
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
package mqttlight provides support for the Home-Assistant light.mqtt_json component.
State holds the message from the Home-Assistant
Unmarshal converts a JSON payload into a command structure.
Type returns the update command type, based on which fields were set during
JSON unmarshalling.
Which kind of JSON message was sent.
const (
Unknown StateType = iota
BrightnessChanged
EffectChanged
RGBChanged
StateChanged
TemperatureChanged
WhiteValueChanged
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.