Classes | |
| class | MqttLightJson |
Functions | |
| Callable[[dict[str, Any]], dict[str, Any]] | valid_color_configuration (bool setup_from_yaml) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| tuple | _PLATFORM_SCHEMA_BASE |
| string | CONF_COLOR_MODE = "color_mode" |
| string | CONF_EFFECT_LIST = "effect_list" |
| string | CONF_FLASH_TIME_LONG = "flash_time_long" |
| string | CONF_FLASH_TIME_SHORT = "flash_time_short" |
| string | CONF_MAX_MIREDS = "max_mireds" |
| string | CONF_MIN_MIREDS = "min_mireds" |
| string | CONF_SUPPORTED_COLOR_MODES = "supported_color_modes" |
| bool | DEFAULT_BRIGHTNESS = False |
| int | DEFAULT_BRIGHTNESS_SCALE = 255 |
| bool | DEFAULT_COLOR_MODE = False |
| bool | DEFAULT_COLOR_TEMP = False |
| bool | DEFAULT_EFFECT = False |
| int | DEFAULT_FLASH_TIME_LONG = 10 |
| int | DEFAULT_FLASH_TIME_SHORT = 2 |
| bool | DEFAULT_HS = False |
| string | DEFAULT_NAME = "MQTT JSON Light" |
| bool | DEFAULT_RGB = False |
| int | DEFAULT_WHITE_SCALE = 255 |
| bool | DEFAULT_XY = False |
| DISCOVERY_SCHEMA_JSON | |
| string | DOMAIN = "mqtt_json" |
| PLATFORM_SCHEMA_MODERN_JSON | |
Support for MQTT JSON lights.
| Callable[[dict[str, Any]], dict[str, Any]] homeassistant.components.mqtt.light.schema_json.valid_color_configuration | ( | bool | setup_from_yaml | ) |
Test color_mode is not combined with deprecated config.
Definition at line 108 of file schema_json.py.
|
private |
Definition at line 79 of file schema_json.py.
|
private |
Definition at line 191 of file schema_json.py.
| string homeassistant.components.mqtt.light.schema_json.CONF_COLOR_MODE = "color_mode" |
Definition at line 96 of file schema_json.py.
| string homeassistant.components.mqtt.light.schema_json.CONF_EFFECT_LIST = "effect_list" |
Definition at line 99 of file schema_json.py.
| string homeassistant.components.mqtt.light.schema_json.CONF_FLASH_TIME_LONG = "flash_time_long" |
Definition at line 101 of file schema_json.py.
| string homeassistant.components.mqtt.light.schema_json.CONF_FLASH_TIME_SHORT = "flash_time_short" |
Definition at line 102 of file schema_json.py.
| string homeassistant.components.mqtt.light.schema_json.CONF_MAX_MIREDS = "max_mireds" |
Definition at line 104 of file schema_json.py.
| string homeassistant.components.mqtt.light.schema_json.CONF_MIN_MIREDS = "min_mireds" |
Definition at line 105 of file schema_json.py.
| string homeassistant.components.mqtt.light.schema_json.CONF_SUPPORTED_COLOR_MODES = "supported_color_modes" |
Definition at line 97 of file schema_json.py.
| bool homeassistant.components.mqtt.light.schema_json.DEFAULT_BRIGHTNESS = False |
Definition at line 83 of file schema_json.py.
| int homeassistant.components.mqtt.light.schema_json.DEFAULT_BRIGHTNESS_SCALE = 255 |
Definition at line 93 of file schema_json.py.
| bool homeassistant.components.mqtt.light.schema_json.DEFAULT_COLOR_MODE = False |
Definition at line 84 of file schema_json.py.
| bool homeassistant.components.mqtt.light.schema_json.DEFAULT_COLOR_TEMP = False |
Definition at line 85 of file schema_json.py.
| bool homeassistant.components.mqtt.light.schema_json.DEFAULT_EFFECT = False |
Definition at line 86 of file schema_json.py.
| int homeassistant.components.mqtt.light.schema_json.DEFAULT_FLASH_TIME_LONG = 10 |
Definition at line 87 of file schema_json.py.
| int homeassistant.components.mqtt.light.schema_json.DEFAULT_FLASH_TIME_SHORT = 2 |
Definition at line 88 of file schema_json.py.
| bool homeassistant.components.mqtt.light.schema_json.DEFAULT_HS = False |
Definition at line 92 of file schema_json.py.
| string homeassistant.components.mqtt.light.schema_json.DEFAULT_NAME = "MQTT JSON Light" |
Definition at line 89 of file schema_json.py.
| bool homeassistant.components.mqtt.light.schema_json.DEFAULT_RGB = False |
Definition at line 90 of file schema_json.py.
| int homeassistant.components.mqtt.light.schema_json.DEFAULT_WHITE_SCALE = 255 |
Definition at line 94 of file schema_json.py.
| bool homeassistant.components.mqtt.light.schema_json.DEFAULT_XY = False |
Definition at line 91 of file schema_json.py.
| homeassistant.components.mqtt.light.schema_json.DISCOVERY_SCHEMA_JSON |
Definition at line 244 of file schema_json.py.
| string homeassistant.components.mqtt.light.schema_json.DOMAIN = "mqtt_json" |
Definition at line 81 of file schema_json.py.
| homeassistant.components.mqtt.light.schema_json.PLATFORM_SCHEMA_MODERN_JSON |
Definition at line 249 of file schema_json.py.