diff --git a/.idea/PROJECT_STATE.md b/.idea/PROJECT_STATE.md index dae01f1..bee4c41 100644 --- a/.idea/PROJECT_STATE.md +++ b/.idea/PROJECT_STATE.md @@ -38,7 +38,8 @@ Completed: - Cover HA state -> KNX percent updates (DPT 5.001) - README includes initial DPT mapping and roadmap. - Incoming invert toggles removed; outgoing inversion remains only for state addresses. -- Project version set to 0.0.20 and `CHANGELOG.md` maintained. +- Light port support added with full KNX color/temperature mappings and individual color channels. +- Project version set to 0.0.21 and `CHANGELOG.md` maintained. Files created: - `custom_components/ha_knx_bridge/__init__.py` diff --git a/CHANGELOG.md b/CHANGELOG.md index ab66353..1789804 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 0.0.21 - 2026-02-15 +- Add full light port support with KNX color/temperature mappings and individual color channels. + ## 0.0.20 - 2026-02-15 - Remove incoming invert toggles; keep outgoing inversion only for state addresses. diff --git a/README.md b/README.md index d96dbb9..d9b0b91 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ Current minimal scope: - Binary Sensor port (state -> KNX) - Switch port (KNX -> HA commands, HA state -> KNX) - Cover port (KNX -> HA commands, HA state -> KNX) +- Light port (KNX -> HA commands, HA state -> KNX) ## Requirements - Home Assistant 2025.12 or newer (tested for compatibility with 2026.2). @@ -47,6 +48,32 @@ Only state addresses expose an `invert outgoing` toggle to flip KNX payloads. - `command_address` (DPT 1): KNX group address for on/off commands. - `state_address` (DPT 1): KNX group address that receives HA on/off state. +### Light Port +- `entity_id`: the HA light to control/monitor. +- `address` (DPT 1.001): KNX group address for on/off commands. +- `state_address` (DPT 1.001): KNX group address that receives HA on/off state. +- `brightness_address` (DPT 5.001): KNX group address for brightness commands. +- `brightness_state_address` (DPT 5.001): KNX group address that receives HA brightness. +- `color_address` (DPT 232.600): KNX group address for RGB commands. +- `color_state_address` (DPT 232.600): KNX group address that receives HA RGB state. +- `rgbw_address` (DPT 251.600): KNX group address for RGBW commands. +- `rgbw_state_address` (DPT 251.600): KNX group address that receives HA RGBW state. +- `hue_address` (DPT 5.003): KNX group address for hue commands. +- `hue_state_address` (DPT 5.003): KNX group address that receives HA hue state. +- `saturation_address` (DPT 5.001): KNX group address for saturation commands. +- `saturation_state_address` (DPT 5.001): KNX group address that receives HA saturation state. +- `xyy_address` (DPT 242.600): KNX group address for XY color commands. +- `xyy_state_address` (DPT 242.600): KNX group address that receives HA XY color state. +- `color_temperature_address` (DPT 5.001/7.600/9): KNX group address for color temperature commands. +- `color_temperature_state_address` (DPT 5.001/7.600/9): KNX group address that receives HA color temperature state. +- `color_temperature_mode`: `relative` (DPT 5.001 percent), `absolute` (DPT 7.600 Kelvin), or `absolute_float` (DPT 9 Kelvin). +- `min_kelvin` / `max_kelvin`: Kelvin range used for `relative` color temperature mapping. +- Individual colors (DPT 1.001 + 5.001): `red_*`, `green_*`, `blue_*`, `white_*` on/off and brightness addresses with matching state addresses. + +Notes: +- If `state_address` or `*_state_address` is empty, the command address is reused for outgoing updates. +- For XY color, the bridge sends the brightness as the Y (luminance) component. + ## Notes - For DPT 1.008 (Up/Down), the bridge treats `0 = Up/Open` and `1 = Down/Close`. - For DPT 5.001, values are interpreted as 0-100 percent where 0 = closed and 100 = open. @@ -61,13 +88,22 @@ Only state addresses expose an `invert outgoing` toggle to flip KNX payloads. - Cover `position_state_address`: DPT 5.001 - Cover `angle_address`: DPT 5.001 - Cover `angle_state_address`: DPT 5.001 +- Light `address` / `state_address`: DPT 1.001 +- Light `brightness_address` / `brightness_state_address`: DPT 5.001 +- Light `color_address` / `color_state_address`: DPT 232.600 +- Light `rgbw_address` / `rgbw_state_address`: DPT 251.600 +- Light `hue_address` / `hue_state_address`: DPT 5.003 +- Light `saturation_address` / `saturation_state_address`: DPT 5.001 +- Light `xyy_address` / `xyy_state_address`: DPT 242.600 +- Light `color_temperature_address` / `color_temperature_state_address`: DPT 5.001/7.600/9 +- Light `red_*`, `green_*`, `blue_*`, `white_*` brightness: DPT 5.001 +- Light `red_*`, `green_*`, `blue_*`, `white_*` on/off: DPT 1.001 ## Roadmap - Optional standalone KNX connection (without requiring the HA KNX integration). -- Additional entity types (light, switch, sensor, climate). +- Additional entity types (sensor, climate). - Advanced DPT mapping options and inversion settings. ## Versioning and Releases -- Current version: 0.0.20 +- Current version: 0.0.21 - `CHANGELOG.md` lists versions with the newest entries at the top. -- Release creation is manual and only done when explicitly requested. diff --git a/custom_components/ha_knx_bridge/bridge.py b/custom_components/ha_knx_bridge/bridge.py index f10a0a6..a70b3c5 100644 --- a/custom_components/ha_knx_bridge/bridge.py +++ b/custom_components/ha_knx_bridge/bridge.py @@ -4,10 +4,20 @@ from dataclasses import dataclass import logging from typing import Any +from homeassistant.components.light import ( + ATTR_BRIGHTNESS, + ATTR_COLOR_MODE, + ATTR_COLOR_TEMP, + ATTR_HS_COLOR, + ATTR_RGB_COLOR, + ATTR_RGBW_COLOR, + ATTR_XY_COLOR, +) from homeassistant.config_entries import ConfigEntry from homeassistant.core import Event, HomeAssistant, State from homeassistant.exceptions import ConfigEntryNotReady from homeassistant.helpers import event as event_helper +from homeassistant.util import color as color_util from .const import ( CONF_ANGLE_ADDRESS, @@ -16,6 +26,42 @@ from .const import ( ADDRESS_VALUE_TYPE, CONF_COMMAND_ADDRESS, CONF_INVERT_OUTGOING, + CONF_LIGHT_ADDRESS, + CONF_LIGHT_STATE_ADDRESS, + CONF_LIGHT_BRIGHTNESS_ADDRESS, + CONF_LIGHT_BRIGHTNESS_STATE_ADDRESS, + CONF_LIGHT_COLOR_ADDRESS, + CONF_LIGHT_COLOR_STATE_ADDRESS, + CONF_LIGHT_RGBW_ADDRESS, + CONF_LIGHT_RGBW_STATE_ADDRESS, + CONF_LIGHT_HUE_ADDRESS, + CONF_LIGHT_HUE_STATE_ADDRESS, + CONF_LIGHT_SATURATION_ADDRESS, + CONF_LIGHT_SATURATION_STATE_ADDRESS, + CONF_LIGHT_XYY_ADDRESS, + CONF_LIGHT_XYY_STATE_ADDRESS, + CONF_LIGHT_COLOR_TEMPERATURE_ADDRESS, + CONF_LIGHT_COLOR_TEMPERATURE_STATE_ADDRESS, + CONF_LIGHT_COLOR_TEMPERATURE_MODE, + CONF_LIGHT_MIN_KELVIN, + CONF_LIGHT_MAX_KELVIN, + CONF_LIGHT_RED_ADDRESS, + CONF_LIGHT_RED_STATE_ADDRESS, + CONF_LIGHT_RED_BRIGHTNESS_ADDRESS, + CONF_LIGHT_RED_BRIGHTNESS_STATE_ADDRESS, + CONF_LIGHT_GREEN_ADDRESS, + CONF_LIGHT_GREEN_STATE_ADDRESS, + CONF_LIGHT_GREEN_BRIGHTNESS_ADDRESS, + CONF_LIGHT_GREEN_BRIGHTNESS_STATE_ADDRESS, + CONF_LIGHT_BLUE_ADDRESS, + CONF_LIGHT_BLUE_STATE_ADDRESS, + CONF_LIGHT_BLUE_BRIGHTNESS_ADDRESS, + CONF_LIGHT_BLUE_BRIGHTNESS_STATE_ADDRESS, + CONF_LIGHT_WHITE_ADDRESS, + CONF_LIGHT_WHITE_STATE_ADDRESS, + CONF_LIGHT_WHITE_BRIGHTNESS_ADDRESS, + CONF_LIGHT_WHITE_BRIGHTNESS_STATE_ADDRESS, + LIGHT_COLOR_TEMPERATURE_MODES, CONF_MOVE_LONG_ADDRESS, CONF_MOVE_SHORT_ADDRESS, CONF_PORT_ENABLED, @@ -30,6 +76,11 @@ _LOGGER = logging.getLogger(__name__) KNX_DOMAIN = "knx" +try: + from homeassistant.components.light import ATTR_COLOR_TEMP_KELVIN +except ImportError: # pragma: no cover - fallback for older HA + ATTR_COLOR_TEMP_KELVIN = "color_temp_kelvin" + @dataclass(frozen=True) class BinarySensorPort: @@ -66,6 +117,58 @@ class AddressOptions: invert_outgoing: bool +@dataclass(frozen=True) +class LightPort: + entity_id: str + address: str | None + state_address: str | None + state_invert_outgoing: bool + brightness_address: str | None + brightness_state_address: str | None + brightness_state_invert_outgoing: bool + color_address: str | None + color_state_address: str | None + rgbw_address: str | None + rgbw_state_address: str | None + hue_address: str | None + hue_state_address: str | None + saturation_address: str | None + saturation_state_address: str | None + saturation_state_invert_outgoing: bool + xyy_address: str | None + xyy_state_address: str | None + color_temperature_address: str | None + color_temperature_state_address: str | None + color_temperature_state_invert_outgoing: bool + color_temperature_mode: str + min_kelvin: int | None + max_kelvin: int | None + red_address: str | None + red_state_address: str | None + red_state_invert_outgoing: bool + red_brightness_address: str | None + red_brightness_state_address: str | None + red_brightness_state_invert_outgoing: bool + green_address: str | None + green_state_address: str | None + green_state_invert_outgoing: bool + green_brightness_address: str | None + green_brightness_state_address: str | None + green_brightness_state_invert_outgoing: bool + blue_address: str | None + blue_state_address: str | None + blue_state_invert_outgoing: bool + blue_brightness_address: str | None + blue_brightness_state_address: str | None + blue_brightness_state_invert_outgoing: bool + white_address: str | None + white_state_address: str | None + white_state_invert_outgoing: bool + white_brightness_address: str | None + white_brightness_state_address: str | None + white_brightness_state_invert_outgoing: bool + + class BridgeManager: def __init__(self, hass: HomeAssistant, entry: ConfigEntry) -> None: self.hass = hass @@ -75,14 +178,15 @@ class BridgeManager: self._address_handlers: dict[str, callable[[Event], Any]] = {} self._registered_addresses: list[tuple[str, str | None]] = [] self._address_options: dict[str, AddressOptions] = {} + self._light_components: dict[str, dict[str, int]] = {} async def async_setup(self) -> None: if not self.hass.services.has_service(KNX_DOMAIN, "send"): raise ConfigEntryNotReady("KNX integration services not available") - binary_ports, switch_ports, cover_ports = self._load_ports() - self._register_outgoing(binary_ports, switch_ports, cover_ports) - await self._register_incoming(switch_ports, cover_ports) + binary_ports, switch_ports, cover_ports, light_ports = self._load_ports() + self._register_outgoing(binary_ports, switch_ports, cover_ports, light_ports) + await self._register_incoming(switch_ports, cover_ports, light_ports) async def async_unload(self) -> None: for unsub in self._unsub_listeners: @@ -97,10 +201,16 @@ class BridgeManager: def _load_ports( self, - ) -> tuple[list[BinarySensorPort], list[SwitchPort], list[CoverPort]]: + ) -> tuple[ + list[BinarySensorPort], + list[SwitchPort], + list[CoverPort], + list[LightPort], + ]: binary_ports: list[BinarySensorPort] = [] switch_ports: list[SwitchPort] = [] cover_ports: list[CoverPort] = [] + light_ports: list[LightPort] = [] enabled_overrides = dict(self.entry.options.get(CONF_PORT_ENABLED, {})) for port in _iter_port_configs(self.entry): @@ -154,14 +264,173 @@ class BridgeManager: ), ) ) + elif port_type == "light": + color_temp_mode = str( + data.get(CONF_LIGHT_COLOR_TEMPERATURE_MODE, "absolute") + ) + if color_temp_mode not in LIGHT_COLOR_TEMPERATURE_MODES: + color_temp_mode = "absolute" + light_ports.append( + LightPort( + entity_id=data["entity_id"], + address=_clean_address(data.get(CONF_LIGHT_ADDRESS)), + state_address=_clean_address( + data.get(CONF_LIGHT_STATE_ADDRESS) + ), + state_invert_outgoing=_clean_bool( + data.get(_invert_out_key(CONF_LIGHT_STATE_ADDRESS)) + ), + brightness_address=_clean_address( + data.get(CONF_LIGHT_BRIGHTNESS_ADDRESS) + ), + brightness_state_address=_clean_address( + data.get(CONF_LIGHT_BRIGHTNESS_STATE_ADDRESS) + ), + brightness_state_invert_outgoing=_clean_bool( + data.get( + _invert_out_key(CONF_LIGHT_BRIGHTNESS_STATE_ADDRESS) + ) + ), + color_address=_clean_address(data.get(CONF_LIGHT_COLOR_ADDRESS)), + color_state_address=_clean_address( + data.get(CONF_LIGHT_COLOR_STATE_ADDRESS) + ), + rgbw_address=_clean_address(data.get(CONF_LIGHT_RGBW_ADDRESS)), + rgbw_state_address=_clean_address( + data.get(CONF_LIGHT_RGBW_STATE_ADDRESS) + ), + hue_address=_clean_address(data.get(CONF_LIGHT_HUE_ADDRESS)), + hue_state_address=_clean_address( + data.get(CONF_LIGHT_HUE_STATE_ADDRESS) + ), + saturation_address=_clean_address( + data.get(CONF_LIGHT_SATURATION_ADDRESS) + ), + saturation_state_address=_clean_address( + data.get(CONF_LIGHT_SATURATION_STATE_ADDRESS) + ), + saturation_state_invert_outgoing=_clean_bool( + data.get( + _invert_out_key( + CONF_LIGHT_SATURATION_STATE_ADDRESS + ) + ) + ), + xyy_address=_clean_address(data.get(CONF_LIGHT_XYY_ADDRESS)), + xyy_state_address=_clean_address( + data.get(CONF_LIGHT_XYY_STATE_ADDRESS) + ), + color_temperature_address=_clean_address( + data.get(CONF_LIGHT_COLOR_TEMPERATURE_ADDRESS) + ), + color_temperature_state_address=_clean_address( + data.get(CONF_LIGHT_COLOR_TEMPERATURE_STATE_ADDRESS) + ), + color_temperature_state_invert_outgoing=_clean_bool( + data.get( + _invert_out_key( + CONF_LIGHT_COLOR_TEMPERATURE_STATE_ADDRESS + ) + ) + ), + color_temperature_mode=color_temp_mode, + min_kelvin=_clean_int(data.get(CONF_LIGHT_MIN_KELVIN)), + max_kelvin=_clean_int(data.get(CONF_LIGHT_MAX_KELVIN)), + red_address=_clean_address(data.get(CONF_LIGHT_RED_ADDRESS)), + red_state_address=_clean_address( + data.get(CONF_LIGHT_RED_STATE_ADDRESS) + ), + red_state_invert_outgoing=_clean_bool( + data.get(_invert_out_key(CONF_LIGHT_RED_STATE_ADDRESS)) + ), + red_brightness_address=_clean_address( + data.get(CONF_LIGHT_RED_BRIGHTNESS_ADDRESS) + ), + red_brightness_state_address=_clean_address( + data.get(CONF_LIGHT_RED_BRIGHTNESS_STATE_ADDRESS) + ), + red_brightness_state_invert_outgoing=_clean_bool( + data.get( + _invert_out_key( + CONF_LIGHT_RED_BRIGHTNESS_STATE_ADDRESS + ) + ) + ), + green_address=_clean_address( + data.get(CONF_LIGHT_GREEN_ADDRESS) + ), + green_state_address=_clean_address( + data.get(CONF_LIGHT_GREEN_STATE_ADDRESS) + ), + green_state_invert_outgoing=_clean_bool( + data.get(_invert_out_key(CONF_LIGHT_GREEN_STATE_ADDRESS)) + ), + green_brightness_address=_clean_address( + data.get(CONF_LIGHT_GREEN_BRIGHTNESS_ADDRESS) + ), + green_brightness_state_address=_clean_address( + data.get(CONF_LIGHT_GREEN_BRIGHTNESS_STATE_ADDRESS) + ), + green_brightness_state_invert_outgoing=_clean_bool( + data.get( + _invert_out_key( + CONF_LIGHT_GREEN_BRIGHTNESS_STATE_ADDRESS + ) + ) + ), + blue_address=_clean_address(data.get(CONF_LIGHT_BLUE_ADDRESS)), + blue_state_address=_clean_address( + data.get(CONF_LIGHT_BLUE_STATE_ADDRESS) + ), + blue_state_invert_outgoing=_clean_bool( + data.get(_invert_out_key(CONF_LIGHT_BLUE_STATE_ADDRESS)) + ), + blue_brightness_address=_clean_address( + data.get(CONF_LIGHT_BLUE_BRIGHTNESS_ADDRESS) + ), + blue_brightness_state_address=_clean_address( + data.get(CONF_LIGHT_BLUE_BRIGHTNESS_STATE_ADDRESS) + ), + blue_brightness_state_invert_outgoing=_clean_bool( + data.get( + _invert_out_key( + CONF_LIGHT_BLUE_BRIGHTNESS_STATE_ADDRESS + ) + ) + ), + white_address=_clean_address( + data.get(CONF_LIGHT_WHITE_ADDRESS) + ), + white_state_address=_clean_address( + data.get(CONF_LIGHT_WHITE_STATE_ADDRESS) + ), + white_state_invert_outgoing=_clean_bool( + data.get(_invert_out_key(CONF_LIGHT_WHITE_STATE_ADDRESS)) + ), + white_brightness_address=_clean_address( + data.get(CONF_LIGHT_WHITE_BRIGHTNESS_ADDRESS) + ), + white_brightness_state_address=_clean_address( + data.get(CONF_LIGHT_WHITE_BRIGHTNESS_STATE_ADDRESS) + ), + white_brightness_state_invert_outgoing=_clean_bool( + data.get( + _invert_out_key( + CONF_LIGHT_WHITE_BRIGHTNESS_STATE_ADDRESS + ) + ) + ), + ) + ) - return binary_ports, switch_ports, cover_ports + return binary_ports, switch_ports, cover_ports, light_ports def _register_outgoing( self, binary_ports: list[BinarySensorPort], switch_ports: list[SwitchPort], cover_ports: list[CoverPort], + light_ports: list[LightPort], ) -> None: for port in binary_ports: if not port.state_address: @@ -212,8 +481,93 @@ class BridgeManager: ) ) + for port in light_ports: + if port.state_address: + self._remember_address_options( + port.state_address, + _get_value_type(CONF_LIGHT_STATE_ADDRESS), + port.state_invert_outgoing, + ) + if port.brightness_state_address: + self._remember_address_options( + port.brightness_state_address, + _get_value_type(CONF_LIGHT_BRIGHTNESS_STATE_ADDRESS), + port.brightness_state_invert_outgoing, + ) + if port.saturation_state_address: + self._remember_address_options( + port.saturation_state_address, + _get_value_type(CONF_LIGHT_SATURATION_STATE_ADDRESS), + port.saturation_state_invert_outgoing, + ) + if ( + port.color_temperature_state_address + and port.color_temperature_mode == "relative" + ): + self._remember_address_options( + port.color_temperature_state_address, + "percent", + port.color_temperature_state_invert_outgoing, + ) + if port.red_state_address: + self._remember_address_options( + port.red_state_address, + _get_value_type(CONF_LIGHT_RED_STATE_ADDRESS), + port.red_state_invert_outgoing, + ) + if port.red_brightness_state_address: + self._remember_address_options( + port.red_brightness_state_address, + _get_value_type(CONF_LIGHT_RED_BRIGHTNESS_STATE_ADDRESS), + port.red_brightness_state_invert_outgoing, + ) + if port.green_state_address: + self._remember_address_options( + port.green_state_address, + _get_value_type(CONF_LIGHT_GREEN_STATE_ADDRESS), + port.green_state_invert_outgoing, + ) + if port.green_brightness_state_address: + self._remember_address_options( + port.green_brightness_state_address, + _get_value_type(CONF_LIGHT_GREEN_BRIGHTNESS_STATE_ADDRESS), + port.green_brightness_state_invert_outgoing, + ) + if port.blue_state_address: + self._remember_address_options( + port.blue_state_address, + _get_value_type(CONF_LIGHT_BLUE_STATE_ADDRESS), + port.blue_state_invert_outgoing, + ) + if port.blue_brightness_state_address: + self._remember_address_options( + port.blue_brightness_state_address, + _get_value_type(CONF_LIGHT_BLUE_BRIGHTNESS_STATE_ADDRESS), + port.blue_brightness_state_invert_outgoing, + ) + if port.white_state_address: + self._remember_address_options( + port.white_state_address, + _get_value_type(CONF_LIGHT_WHITE_STATE_ADDRESS), + port.white_state_invert_outgoing, + ) + if port.white_brightness_state_address: + self._remember_address_options( + port.white_brightness_state_address, + _get_value_type(CONF_LIGHT_WHITE_BRIGHTNESS_STATE_ADDRESS), + port.white_brightness_state_invert_outgoing, + ) + self._unsub_listeners.append( + event_helper.async_track_state_change_event( + self.hass, [port.entity_id], self._light_changed(port) + ) + ) + async def _register_incoming( - self, switch_ports: list[SwitchPort], cover_ports: list[CoverPort] + self, + switch_ports: list[SwitchPort], + cover_ports: list[CoverPort], + light_ports: list[LightPort], ) -> None: for port in switch_ports: self._register_knx_switch_address( @@ -253,6 +607,104 @@ class BridgeManager: "angle", ) + for port in light_ports: + self._register_knx_light_command( + port.address, + _get_event_type(CONF_LIGHT_ADDRESS), + port, + "switch", + ) + self._register_knx_light_command( + port.brightness_address, + _get_event_type(CONF_LIGHT_BRIGHTNESS_ADDRESS), + port, + "brightness", + ) + self._register_knx_light_command( + port.color_address, + _get_event_type(CONF_LIGHT_COLOR_ADDRESS), + port, + "color", + ) + self._register_knx_light_command( + port.rgbw_address, + _get_event_type(CONF_LIGHT_RGBW_ADDRESS), + port, + "rgbw", + ) + self._register_knx_light_command( + port.hue_address, + _get_event_type(CONF_LIGHT_HUE_ADDRESS), + port, + "hue", + ) + self._register_knx_light_command( + port.saturation_address, + _get_event_type(CONF_LIGHT_SATURATION_ADDRESS), + port, + "saturation", + ) + self._register_knx_light_command( + port.xyy_address, + _get_event_type(CONF_LIGHT_XYY_ADDRESS), + port, + "xyy", + ) + self._register_knx_light_command( + port.color_temperature_address, + _light_color_temperature_event_type(port.color_temperature_mode), + port, + "color_temperature", + ) + self._register_knx_light_command( + port.red_address, + _get_event_type(CONF_LIGHT_RED_ADDRESS), + port, + "red_switch", + ) + self._register_knx_light_command( + port.red_brightness_address, + _get_event_type(CONF_LIGHT_RED_BRIGHTNESS_ADDRESS), + port, + "red_brightness", + ) + self._register_knx_light_command( + port.green_address, + _get_event_type(CONF_LIGHT_GREEN_ADDRESS), + port, + "green_switch", + ) + self._register_knx_light_command( + port.green_brightness_address, + _get_event_type(CONF_LIGHT_GREEN_BRIGHTNESS_ADDRESS), + port, + "green_brightness", + ) + self._register_knx_light_command( + port.blue_address, + _get_event_type(CONF_LIGHT_BLUE_ADDRESS), + port, + "blue_switch", + ) + self._register_knx_light_command( + port.blue_brightness_address, + _get_event_type(CONF_LIGHT_BLUE_BRIGHTNESS_ADDRESS), + port, + "blue_brightness", + ) + self._register_knx_light_command( + port.white_address, + _get_event_type(CONF_LIGHT_WHITE_ADDRESS), + port, + "white_switch", + ) + self._register_knx_light_command( + port.white_brightness_address, + _get_event_type(CONF_LIGHT_WHITE_BRIGHTNESS_ADDRESS), + port, + "white_brightness", + ) + if self._address_handlers: if hasattr(event_helper, "async_track_event"): self._knx_event_unsub = event_helper.async_track_event( @@ -302,6 +754,20 @@ class BridgeManager: ) self._registered_addresses.append((address, _get_event_type(CONF_COMMAND_ADDRESS))) + def _register_knx_light_command( + self, + address: str | None, + event_type: str | None, + port: LightPort, + action: str, + ) -> None: + if not address: + return + self._address_handlers[address] = lambda event: self._handle_light_action( + port, action, event + ) + self._registered_addresses.append((address, event_type)) + def _remember_address_options( self, address: str, @@ -392,6 +858,142 @@ class BridgeManager: return _handler + def _light_changed(self, port: LightPort) -> callable[[Event], Any]: + async def _handler(event: Event) -> None: + new_state: State | None = event.data.get("new_state") + if new_state is None: + return + if new_state.state not in ("on", "off"): + return + + is_on = new_state.state == "on" + attrs = new_state.attributes + brightness = attrs.get(ATTR_BRIGHTNESS) + brightness_percent = ( + _brightness_to_percent(brightness) if brightness is not None else None + ) + hs_color = attrs.get(ATTR_HS_COLOR) + rgb_color = attrs.get(ATTR_RGB_COLOR) + rgbw_color = attrs.get(ATTR_RGBW_COLOR) + xy_color = attrs.get(ATTR_XY_COLOR) + color_temp_kelvin = attrs.get(ATTR_COLOR_TEMP_KELVIN) + color_temp_mired = attrs.get(ATTR_COLOR_TEMP) + + if color_temp_kelvin is None and color_temp_mired is not None: + color_temp_kelvin = _mireds_to_kelvin(color_temp_mired) + + if port.state_address or port.address: + payload = 1 if is_on else 0 + target = port.state_address or port.address + if port.state_address: + payload = _invert_value( + payload, port.state_address, self._address_options + ) + await self._knx_send_raw(target, payload) + + if port.brightness_state_address or port.brightness_address: + if is_on: + if brightness_percent is None: + pass + else: + target = ( + port.brightness_state_address or port.brightness_address + ) + payload = brightness_percent + if port.brightness_state_address: + payload = _invert_value( + payload, port.brightness_state_address, self._address_options + ) + await self._knx_send_percent(target, payload) + else: + target = port.brightness_state_address or port.brightness_address + if target: + payload = 0 + if port.brightness_state_address: + payload = _invert_value( + payload, port.brightness_state_address, self._address_options + ) + await self._knx_send_percent(target, payload) + + if rgb_color is None and hs_color is not None: + rgb_color = color_util.color_hs_to_RGB(*hs_color) + if rgb_color is None and xy_color is not None: + rgb_color = color_util.color_xy_to_RGB( + xy_color[0], xy_color[1], brightness or 255 + ) + + if port.color_state_address or port.color_address: + target = port.color_state_address or port.color_address + if rgb_color is not None and target: + await self._knx_send_typed(target, list(rgb_color), "232.600") + + if port.rgbw_state_address or port.rgbw_address: + target = port.rgbw_state_address or port.rgbw_address + if rgbw_color is not None and target: + await self._knx_send_typed(target, list(rgbw_color), "251.600") + + if port.hue_state_address or port.hue_address: + target = port.hue_state_address or port.hue_address + if hs_color is not None and target: + await self._knx_send_typed(target, int(round(hs_color[0])), "5.003") + + if port.saturation_state_address or port.saturation_address: + target = port.saturation_state_address or port.saturation_address + if hs_color is not None and target: + payload = int(round(hs_color[1])) + if port.saturation_state_address: + payload = _invert_value( + payload, port.saturation_state_address, self._address_options + ) + await self._knx_send_percent(target, payload) + + if port.xyy_state_address or port.xyy_address: + target = port.xyy_state_address or port.xyy_address + if xy_color is not None and target: + if brightness_percent is None: + brightness_value = 100 if is_on else 0 + else: + brightness_value = brightness_percent + await self._knx_send_typed( + target, + [float(xy_color[0]), float(xy_color[1]), int(brightness_value)], + "242.600", + ) + + if port.color_temperature_state_address or port.color_temperature_address: + target = ( + port.color_temperature_state_address + or port.color_temperature_address + ) + if target and color_temp_kelvin is not None: + payload, dpt_type = _color_temperature_payload( + color_temp_kelvin, + port, + clamp=True, + ) + if ( + port.color_temperature_state_address + and port.color_temperature_mode == "relative" + ): + payload = _invert_value( + int(round(payload)), + port.color_temperature_state_address, + self._address_options, + ) + await self._knx_send_typed(target, payload, dpt_type) + + self._update_light_components_from_state( + port, + is_on, + brightness, + rgb_color, + rgbw_color, + ) + + await self._send_light_component_states(port) + + return _handler + async def _handle_knx_event(self, event: Event) -> None: direction = event.data.get("direction") if direction is not None and not str(direction).lower().startswith("incoming"): @@ -447,6 +1049,117 @@ class BridgeManager: elif value == 1: await self._call_switch_service(port.entity_id, "turn_on") + async def _handle_light_action( + self, port: LightPort, action: str, event: Event + ) -> None: + if action == "switch": + value = _extract_event_value(event) + if value is None: + return + if value == 0: + await self._call_light_service(port.entity_id, "turn_off") + elif value == 1: + await self._call_light_service(port.entity_id, "turn_on") + return + + if action == "brightness": + value = _extract_event_value(event) + if value is None: + return + value = _clamp_percent(value) + if value == 0: + await self._call_light_service(port.entity_id, "turn_off") + else: + await self._call_light_service( + port.entity_id, + "turn_on", + {"brightness": _percent_to_brightness(value)}, + ) + return + + if action == "color": + rgb = _extract_rgb_value(event) + if rgb is None: + return + await self._call_light_service( + port.entity_id, "turn_on", {"rgb_color": rgb} + ) + return + + if action == "rgbw": + rgbw = _extract_rgbw_value(event) + if rgbw is None: + return + await self._call_light_service( + port.entity_id, "turn_on", {"rgbw_color": rgbw} + ) + return + + if action == "hue": + value = _extract_event_value(event) + if value is None: + return + hs_color = _current_hs_color(self.hass, port.entity_id) + saturation = 0 if hs_color is None else hs_color[1] + await self._call_light_service( + port.entity_id, + "turn_on", + {"hs_color": (float(value), float(saturation))}, + ) + return + + if action == "saturation": + value = _extract_event_value(event) + if value is None: + return + value = _clamp_percent(value) + hs_color = _current_hs_color(self.hass, port.entity_id) + hue = 0 if hs_color is None else hs_color[0] + await self._call_light_service( + port.entity_id, + "turn_on", + {"hs_color": (float(hue), float(value))}, + ) + return + + if action == "xyy": + xyy = _extract_xyy_value(event) + if xyy is None: + return + x, y, luminance = xyy + data: dict[str, Any] = {"xy_color": (float(x), float(y))} + if luminance is not None: + lum = _clamp_percent(int(round(luminance))) + if lum == 0: + await self._call_light_service(port.entity_id, "turn_off") + return + data["brightness"] = _percent_to_brightness(lum) + await self._call_light_service(port.entity_id, "turn_on", data) + return + + if action == "color_temperature": + value = _extract_float_value(event) + if value is None: + return + kelvin = _color_temperature_from_value(value, port) + if kelvin is None: + return + await self._call_light_service( + port.entity_id, + "turn_on", + {"color_temp": _kelvin_to_mireds(kelvin)}, + ) + return + + if action.startswith("red_"): + await self._handle_light_component_action(port, "red", action, event) + elif action.startswith("green_"): + await self._handle_light_component_action(port, "green", action, event) + elif action.startswith("blue_"): + await self._handle_light_component_action(port, "blue", action, event) + elif action.startswith("white_"): + await self._handle_light_component_action(port, "white", action, event) + async def _call_cover_service( self, entity_id: str, service: str, service_data: dict[str, Any] | None = None ) -> None: @@ -467,6 +1180,14 @@ class BridgeManager: "switch", service, data, blocking=False ) + async def _call_light_service( + self, entity_id: str, service: str, service_data: dict[str, Any] | None = None + ) -> None: + data = {"entity_id": entity_id} + if service_data: + data.update(service_data) + await self.hass.services.async_call("light", service, data, blocking=False) + async def _knx_send_raw(self, address: str | None, payload: int) -> None: if not address: return @@ -477,6 +1198,18 @@ class BridgeManager: blocking=False, ) + async def _knx_send_typed( + self, address: str | None, payload: Any, dpt_type: str + ) -> None: + if not address: + return + await self.hass.services.async_call( + KNX_DOMAIN, + "send", + {"address": address, "payload": payload, "type": dpt_type}, + blocking=False, + ) + async def _knx_send_percent(self, address: str | None, value: int) -> None: if not address: return @@ -488,6 +1221,164 @@ class BridgeManager: blocking=False, ) + def _update_light_components_from_state( + self, + port: LightPort, + is_on: bool, + brightness: int | None, + rgb_color: tuple[int, int, int] | None, + rgbw_color: tuple[int, int, int, int] | None, + ) -> None: + if not is_on: + self._light_components[port.entity_id] = {"r": 0, "g": 0, "b": 0, "w": 0} + return + + scale = 1.0 + if brightness is not None: + scale = max(0.0, min(1.0, brightness / 255)) + + components = self._light_components.get(port.entity_id, {}) + if rgbw_color is not None: + components = { + "r": int(round(rgbw_color[0] * scale)), + "g": int(round(rgbw_color[1] * scale)), + "b": int(round(rgbw_color[2] * scale)), + "w": int(round(rgbw_color[3] * scale)), + } + elif rgb_color is not None: + components = { + "r": int(round(rgb_color[0] * scale)), + "g": int(round(rgb_color[1] * scale)), + "b": int(round(rgb_color[2] * scale)), + "w": components.get("w", 0), + } + self._light_components[port.entity_id] = components + + async def _send_light_component_states(self, port: LightPort) -> None: + components = self._light_components.get(port.entity_id) + if not components: + return + + await self._send_light_component_state( + port.red_state_address, + port.red_state_invert_outgoing, + components.get("r", 0), + ) + await self._send_light_component_brightness_state( + port.red_brightness_state_address, + port.red_brightness_state_invert_outgoing, + components.get("r", 0), + ) + await self._send_light_component_state( + port.green_state_address, + port.green_state_invert_outgoing, + components.get("g", 0), + ) + await self._send_light_component_brightness_state( + port.green_brightness_state_address, + port.green_brightness_state_invert_outgoing, + components.get("g", 0), + ) + await self._send_light_component_state( + port.blue_state_address, + port.blue_state_invert_outgoing, + components.get("b", 0), + ) + await self._send_light_component_brightness_state( + port.blue_brightness_state_address, + port.blue_brightness_state_invert_outgoing, + components.get("b", 0), + ) + await self._send_light_component_state( + port.white_state_address, + port.white_state_invert_outgoing, + components.get("w", 0), + ) + await self._send_light_component_brightness_state( + port.white_brightness_state_address, + port.white_brightness_state_invert_outgoing, + components.get("w", 0), + ) + + async def _send_light_component_state( + self, + address: str | None, + invert_outgoing: bool, + value: int, + ) -> None: + if not address: + return + payload = 1 if value > 0 else 0 + if invert_outgoing: + payload = _invert_value(payload, address, self._address_options) + await self._knx_send_raw(address, payload) + + async def _send_light_component_brightness_state( + self, + address: str | None, + invert_outgoing: bool, + value: int, + ) -> None: + if not address: + return + payload = _brightness_to_percent(value) + if invert_outgoing: + payload = _invert_value(payload, address, self._address_options) + await self._knx_send_percent(address, payload) + + async def _handle_light_component_action( + self, port: LightPort, color: str, action: str, event: Event + ) -> None: + components = self._light_components.setdefault( + port.entity_id, {"r": 0, "g": 0, "b": 0, "w": 0} + ) + if action.endswith("_switch"): + value = _extract_event_value(event) + if value is None: + return + if value == 0: + components[color[0]] = 0 + elif value == 1 and components[color[0]] == 0: + components[color[0]] = 255 + elif action.endswith("_brightness"): + value = _extract_event_value(event) + if value is None: + return + value = _clamp_percent(value) + components[color[0]] = _percent_to_brightness(value) + else: + return + + if all(value == 0 for value in components.values()): + await self._call_light_service(port.entity_id, "turn_off") + return + + if _light_uses_white_channel(port): + await self._call_light_service( + port.entity_id, + "turn_on", + { + "rgbw_color": ( + components["r"], + components["g"], + components["b"], + components["w"], + ) + }, + ) + else: + await self._call_light_service( + port.entity_id, + "turn_on", + { + "rgb_color": ( + components["r"], + components["g"], + components["b"], + ) + }, + ) + def _extract_event_value(event: Event) -> int | None: if "value" in event.data: @@ -522,6 +1413,15 @@ def _clean_bool(value: Any) -> bool: return bool(value) +def _clean_int(value: Any) -> int | None: + if value is None or value == "": + return None + try: + return int(value) + except (TypeError, ValueError): + return None + + def _invert_value( value: int, address: str | None, @@ -563,6 +1463,190 @@ def _clamp_percent(value: int) -> int: return value +def _brightness_to_percent(brightness: int) -> int: + if brightness <= 0: + return 0 + if brightness >= 255: + return 100 + return int(round(brightness / 255 * 100)) + + +def _percent_to_brightness(percent: int) -> int: + percent = _clamp_percent(percent) + return int(round(percent / 100 * 255)) + + +def _kelvin_to_mireds(kelvin: float) -> int: + if kelvin <= 0: + return 0 + return int(round(1000000 / kelvin)) + + +def _mireds_to_kelvin(mireds: float) -> float: + if mireds <= 0: + return 0 + return 1000000 / mireds + + +def _extract_rgb_value(event: Event) -> tuple[int, int, int] | None: + value = event.data.get("value") + if isinstance(value, dict): + red = value.get("red", value.get("r")) + green = value.get("green", value.get("g")) + blue = value.get("blue", value.get("b")) + if red is not None and green is not None and blue is not None: + return (int(red), int(green), int(blue)) + if isinstance(value, (list, tuple)) and len(value) >= 3: + return (int(value[0]), int(value[1]), int(value[2])) + data = event.data.get("data") + if isinstance(data, (list, tuple)) and len(data) >= 3: + return (int(data[0]), int(data[1]), int(data[2])) + return None + + +def _extract_rgbw_value(event: Event) -> tuple[int, int, int, int] | None: + value = event.data.get("value") + if isinstance(value, dict): + red = value.get("red", value.get("r")) + green = value.get("green", value.get("g")) + blue = value.get("blue", value.get("b")) + white = value.get("white", value.get("w")) + if ( + red is not None + and green is not None + and blue is not None + and white is not None + ): + return (int(red), int(green), int(blue), int(white)) + if isinstance(value, (list, tuple)) and len(value) >= 4: + return (int(value[0]), int(value[1]), int(value[2]), int(value[3])) + data = event.data.get("data") + if isinstance(data, (list, tuple)) and len(data) >= 4: + return (int(data[0]), int(data[1]), int(data[2]), int(data[3])) + return None + + +def _extract_xyy_value( + event: Event, +) -> tuple[float, float, float | None] | None: + value = event.data.get("value") + if isinstance(value, dict): + x = value.get("x") + y = value.get("y") + luminance = value.get("Y", value.get("luminance", value.get("brightness"))) + if x is not None and y is not None: + return ( + float(x), + float(y), + float(luminance) if luminance is not None else None, + ) + if isinstance(value, (list, tuple)) and len(value) >= 2: + x = value[0] + y = value[1] + luminance = value[2] if len(value) > 2 else None + return ( + float(x), + float(y), + float(luminance) if luminance is not None else None, + ) + data = event.data.get("data") + if isinstance(data, (list, tuple)) and len(data) >= 2: + x = data[0] + y = data[1] + luminance = data[2] if len(data) > 2 else None + return ( + float(x), + float(y), + float(luminance) if luminance is not None else None, + ) + return None + + +def _extract_float_value(event: Event) -> float | None: + if "value" in event.data: + value = event.data["value"] + if isinstance(value, (int, float)): + return float(value) + mapped = _extract_event_value(event) + if mapped is None: + return None + return float(mapped) + + +def _current_hs_color( + hass: HomeAssistant, entity_id: str +) -> tuple[float, float] | None: + state = hass.states.get(entity_id) + if state is None: + return None + hs_color = state.attributes.get(ATTR_HS_COLOR) + if hs_color is None: + return None + try: + return float(hs_color[0]), float(hs_color[1]) + except (TypeError, ValueError, IndexError): + return None + + +def _light_color_temperature_event_type(mode: str) -> str | None: + if mode == "relative": + return "percent" + if mode == "absolute": + return "7.600" + if mode == "absolute_float": + return "9" + return None + + +def _color_temperature_payload( + kelvin: float, port: LightPort, clamp: bool = False +) -> tuple[float | int, str]: + min_kelvin = _light_min_kelvin(port) + max_kelvin = _light_max_kelvin(port) + if clamp: + kelvin = min(max(kelvin, min_kelvin), max_kelvin) + if port.color_temperature_mode == "relative": + percent = (kelvin - min_kelvin) / (max_kelvin - min_kelvin) * 100 + return int(round(_clamp_percent(int(round(percent))))), "percent" + if port.color_temperature_mode == "absolute_float": + return float(kelvin), "9" + return int(round(kelvin)), "7.600" + + +def _color_temperature_from_value( + value: float, port: LightPort +) -> float | None: + min_kelvin = _light_min_kelvin(port) + max_kelvin = _light_max_kelvin(port) + if port.color_temperature_mode == "relative": + percent = _clamp_percent(int(round(value))) + return min_kelvin + (max_kelvin - min_kelvin) * (percent / 100) + if port.color_temperature_mode == "absolute": + return float(value) + if port.color_temperature_mode == "absolute_float": + return float(value) + return None + + +def _light_min_kelvin(port: LightPort) -> int: + return port.min_kelvin or 2000 + + +def _light_max_kelvin(port: LightPort) -> int: + return port.max_kelvin or 6500 + + +def _light_uses_white_channel(port: LightPort) -> bool: + return any( + [ + port.white_address, + port.white_state_address, + port.white_brightness_address, + port.white_brightness_state_address, + ] + ) + + def _map_scalar_value(value: Any) -> int | None: if isinstance(value, bool): return 1 if value else 0 diff --git a/custom_components/ha_knx_bridge/config_flow.py b/custom_components/ha_knx_bridge/config_flow.py index 66ce9dd..cfb46a1 100644 --- a/custom_components/ha_knx_bridge/config_flow.py +++ b/custom_components/ha_knx_bridge/config_flow.py @@ -16,6 +16,42 @@ from .const import ( CONF_COMMAND_ADDRESS, CONF_INVERT_OUTGOING, CONF_KNX_ENTRY_ID, + CONF_LIGHT_ADDRESS, + CONF_LIGHT_STATE_ADDRESS, + CONF_LIGHT_BRIGHTNESS_ADDRESS, + CONF_LIGHT_BRIGHTNESS_STATE_ADDRESS, + CONF_LIGHT_COLOR_ADDRESS, + CONF_LIGHT_COLOR_STATE_ADDRESS, + CONF_LIGHT_RGBW_ADDRESS, + CONF_LIGHT_RGBW_STATE_ADDRESS, + CONF_LIGHT_HUE_ADDRESS, + CONF_LIGHT_HUE_STATE_ADDRESS, + CONF_LIGHT_SATURATION_ADDRESS, + CONF_LIGHT_SATURATION_STATE_ADDRESS, + CONF_LIGHT_XYY_ADDRESS, + CONF_LIGHT_XYY_STATE_ADDRESS, + CONF_LIGHT_COLOR_TEMPERATURE_ADDRESS, + CONF_LIGHT_COLOR_TEMPERATURE_STATE_ADDRESS, + CONF_LIGHT_COLOR_TEMPERATURE_MODE, + CONF_LIGHT_MIN_KELVIN, + CONF_LIGHT_MAX_KELVIN, + CONF_LIGHT_RED_ADDRESS, + CONF_LIGHT_RED_STATE_ADDRESS, + CONF_LIGHT_RED_BRIGHTNESS_ADDRESS, + CONF_LIGHT_RED_BRIGHTNESS_STATE_ADDRESS, + CONF_LIGHT_GREEN_ADDRESS, + CONF_LIGHT_GREEN_STATE_ADDRESS, + CONF_LIGHT_GREEN_BRIGHTNESS_ADDRESS, + CONF_LIGHT_GREEN_BRIGHTNESS_STATE_ADDRESS, + CONF_LIGHT_BLUE_ADDRESS, + CONF_LIGHT_BLUE_STATE_ADDRESS, + CONF_LIGHT_BLUE_BRIGHTNESS_ADDRESS, + CONF_LIGHT_BLUE_BRIGHTNESS_STATE_ADDRESS, + CONF_LIGHT_WHITE_ADDRESS, + CONF_LIGHT_WHITE_STATE_ADDRESS, + CONF_LIGHT_WHITE_BRIGHTNESS_ADDRESS, + CONF_LIGHT_WHITE_BRIGHTNESS_STATE_ADDRESS, + LIGHT_COLOR_TEMPERATURE_MODES, CONF_MOVE_LONG_ADDRESS, CONF_MOVE_SHORT_ADDRESS, CONF_PORTS, @@ -85,6 +121,9 @@ class HAKnxBridgeConfigFlow(config_entries.ConfigFlow, domain=DOMAIN): "cover": subentry_type( name="Cover Port", flow_class=CoverPortSubentryFlow ), + "light": subentry_type( + name="Light Port", flow_class=LightPortSubentryFlow + ), } @@ -99,6 +138,7 @@ class HAKnxBridgeOptionsFlow(config_entries.OptionsFlow): "add_binary_sensor", "add_switch", "add_cover", + "add_light", "edit_port", "remove_port", ], @@ -163,6 +203,19 @@ class HAKnxBridgeOptionsFlow(config_entries.OptionsFlow): return self.async_show_form(step_id="add_cover", data_schema=_cover_schema()) + async def async_step_add_light(self, user_input: dict | None = None): + if user_input is not None: + user_input, errors = _validate_knx_addresses( + user_input, _port_keys("light") + ) + if errors: + return self.async_show_form( + step_id="add_light", data_schema=_light_schema(), errors=errors + ) + return await self._async_store_port("light", user_input) + + return self.async_show_form(step_id="add_light", data_schema=_light_schema()) + async def async_step_remove_port(self, user_input: dict | None = None): ports = list(self._config_entry.options.get(CONF_PORTS, [])) if not ports: @@ -223,6 +276,11 @@ class HAKnxBridgeOptionsFlow(config_entries.OptionsFlow): step_id="edit_cover", data_schema=_cover_schema(defaults=data), ) + if port_type == "light": + return self.async_show_form( + step_id="edit_light", + data_schema=_light_schema(defaults=data), + ) return self.async_abort(reason="no_ports_to_edit") options = [ @@ -253,6 +311,9 @@ class HAKnxBridgeOptionsFlow(config_entries.OptionsFlow): async def async_step_edit_cover(self, user_input: dict | None = None): return await self._async_edit_port("cover", user_input, _cover_schema) + async def async_step_edit_light(self, user_input: dict | None = None): + return await self._async_edit_port("light", user_input, _light_schema) + async def _async_store_port(self, port_type: str, user_input: dict): ports = list(self._config_entry.options.get(CONF_PORTS, [])) title = _entity_title(self.hass, user_input[CONF_ENTITY_ID]) @@ -375,6 +436,23 @@ class CoverPortSubentryFlow(config_entries.ConfigSubentryFlow): return self.async_show_form(step_id="user", data_schema=_cover_schema()) +class LightPortSubentryFlow(config_entries.ConfigSubentryFlow): + VERSION = 1 + + async def async_step_user(self, user_input: dict | None = None): + if user_input is not None: + user_input, errors = _validate_knx_addresses( + user_input, _port_keys("light") + ) + if errors: + return self.async_show_form( + step_id="user", data_schema=_light_schema(), errors=errors + ) + title = _entity_title(self.hass, user_input[CONF_ENTITY_ID]) + return self.async_create_entry(title=title, data=user_input) + + return self.async_show_form(step_id="user", data_schema=_light_schema()) + def _entity_title(hass, entity_id: str) -> str: state = hass.states.get(entity_id) if state is None: @@ -517,6 +595,322 @@ def _switch_schema(defaults: dict | None = None) -> vol.Schema: ) +def _light_schema(defaults: dict | None = None) -> vol.Schema: + defaults = defaults or {} + color_temperature_options = [ + { + "value": mode, + "label": mode.replace("_", " ").title(), + } + for mode in LIGHT_COLOR_TEMPERATURE_MODES + ] + return vol.Schema( + { + vol.Required( + CONF_ENTITY_ID, + default=defaults.get(CONF_ENTITY_ID, ""), + ): selector.EntitySelector( + selector.EntitySelectorConfig(domain=["light"]) + ), + vol.Optional( + CONF_LIGHT_ADDRESS, + default=defaults.get(CONF_LIGHT_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + CONF_LIGHT_STATE_ADDRESS, + default=defaults.get(CONF_LIGHT_STATE_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + _invert_out_key(CONF_LIGHT_STATE_ADDRESS), + default=bool(defaults.get(_invert_out_key(CONF_LIGHT_STATE_ADDRESS))), + ): selector.BooleanSelector(), + vol.Optional( + CONF_LIGHT_BRIGHTNESS_ADDRESS, + default=defaults.get(CONF_LIGHT_BRIGHTNESS_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + CONF_LIGHT_BRIGHTNESS_STATE_ADDRESS, + default=defaults.get(CONF_LIGHT_BRIGHTNESS_STATE_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + _invert_out_key(CONF_LIGHT_BRIGHTNESS_STATE_ADDRESS), + default=bool( + defaults.get(_invert_out_key(CONF_LIGHT_BRIGHTNESS_STATE_ADDRESS)) + ), + ): selector.BooleanSelector(), + vol.Optional( + CONF_LIGHT_COLOR_ADDRESS, + default=defaults.get(CONF_LIGHT_COLOR_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + CONF_LIGHT_COLOR_STATE_ADDRESS, + default=defaults.get(CONF_LIGHT_COLOR_STATE_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + CONF_LIGHT_RGBW_ADDRESS, + default=defaults.get(CONF_LIGHT_RGBW_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + CONF_LIGHT_RGBW_STATE_ADDRESS, + default=defaults.get(CONF_LIGHT_RGBW_STATE_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + CONF_LIGHT_HUE_ADDRESS, + default=defaults.get(CONF_LIGHT_HUE_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + CONF_LIGHT_HUE_STATE_ADDRESS, + default=defaults.get(CONF_LIGHT_HUE_STATE_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + CONF_LIGHT_SATURATION_ADDRESS, + default=defaults.get(CONF_LIGHT_SATURATION_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + CONF_LIGHT_SATURATION_STATE_ADDRESS, + default=defaults.get(CONF_LIGHT_SATURATION_STATE_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + _invert_out_key(CONF_LIGHT_SATURATION_STATE_ADDRESS), + default=bool( + defaults.get(_invert_out_key(CONF_LIGHT_SATURATION_STATE_ADDRESS)) + ), + ): selector.BooleanSelector(), + vol.Optional( + CONF_LIGHT_XYY_ADDRESS, + default=defaults.get(CONF_LIGHT_XYY_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + CONF_LIGHT_XYY_STATE_ADDRESS, + default=defaults.get(CONF_LIGHT_XYY_STATE_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + CONF_LIGHT_COLOR_TEMPERATURE_ADDRESS, + default=defaults.get(CONF_LIGHT_COLOR_TEMPERATURE_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + CONF_LIGHT_COLOR_TEMPERATURE_STATE_ADDRESS, + default=defaults.get(CONF_LIGHT_COLOR_TEMPERATURE_STATE_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + _invert_out_key(CONF_LIGHT_COLOR_TEMPERATURE_STATE_ADDRESS), + default=bool( + defaults.get( + _invert_out_key(CONF_LIGHT_COLOR_TEMPERATURE_STATE_ADDRESS) + ) + ), + ): selector.BooleanSelector(), + vol.Optional( + CONF_LIGHT_COLOR_TEMPERATURE_MODE, + default=defaults.get(CONF_LIGHT_COLOR_TEMPERATURE_MODE, "absolute"), + ): selector.SelectSelector( + selector.SelectSelectorConfig( + options=color_temperature_options, mode="dropdown" + ) + ), + vol.Optional( + CONF_LIGHT_MIN_KELVIN, + default=defaults.get(CONF_LIGHT_MIN_KELVIN, 2000), + ): selector.NumberSelector( + selector.NumberSelectorConfig(min=1000, max=20000, step=1, mode="box") + ), + vol.Optional( + CONF_LIGHT_MAX_KELVIN, + default=defaults.get(CONF_LIGHT_MAX_KELVIN, 6500), + ): selector.NumberSelector( + selector.NumberSelectorConfig(min=1000, max=20000, step=1, mode="box") + ), + vol.Optional( + CONF_LIGHT_RED_ADDRESS, + default=defaults.get(CONF_LIGHT_RED_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + CONF_LIGHT_RED_STATE_ADDRESS, + default=defaults.get(CONF_LIGHT_RED_STATE_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + _invert_out_key(CONF_LIGHT_RED_STATE_ADDRESS), + default=bool( + defaults.get(_invert_out_key(CONF_LIGHT_RED_STATE_ADDRESS)) + ), + ): selector.BooleanSelector(), + vol.Optional( + CONF_LIGHT_RED_BRIGHTNESS_ADDRESS, + default=defaults.get(CONF_LIGHT_RED_BRIGHTNESS_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + CONF_LIGHT_RED_BRIGHTNESS_STATE_ADDRESS, + default=defaults.get(CONF_LIGHT_RED_BRIGHTNESS_STATE_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + _invert_out_key(CONF_LIGHT_RED_BRIGHTNESS_STATE_ADDRESS), + default=bool( + defaults.get( + _invert_out_key(CONF_LIGHT_RED_BRIGHTNESS_STATE_ADDRESS) + ) + ), + ): selector.BooleanSelector(), + vol.Optional( + CONF_LIGHT_GREEN_ADDRESS, + default=defaults.get(CONF_LIGHT_GREEN_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + CONF_LIGHT_GREEN_STATE_ADDRESS, + default=defaults.get(CONF_LIGHT_GREEN_STATE_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + _invert_out_key(CONF_LIGHT_GREEN_STATE_ADDRESS), + default=bool( + defaults.get(_invert_out_key(CONF_LIGHT_GREEN_STATE_ADDRESS)) + ), + ): selector.BooleanSelector(), + vol.Optional( + CONF_LIGHT_GREEN_BRIGHTNESS_ADDRESS, + default=defaults.get(CONF_LIGHT_GREEN_BRIGHTNESS_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + CONF_LIGHT_GREEN_BRIGHTNESS_STATE_ADDRESS, + default=defaults.get(CONF_LIGHT_GREEN_BRIGHTNESS_STATE_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + _invert_out_key(CONF_LIGHT_GREEN_BRIGHTNESS_STATE_ADDRESS), + default=bool( + defaults.get( + _invert_out_key(CONF_LIGHT_GREEN_BRIGHTNESS_STATE_ADDRESS) + ) + ), + ): selector.BooleanSelector(), + vol.Optional( + CONF_LIGHT_BLUE_ADDRESS, + default=defaults.get(CONF_LIGHT_BLUE_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + CONF_LIGHT_BLUE_STATE_ADDRESS, + default=defaults.get(CONF_LIGHT_BLUE_STATE_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + _invert_out_key(CONF_LIGHT_BLUE_STATE_ADDRESS), + default=bool( + defaults.get(_invert_out_key(CONF_LIGHT_BLUE_STATE_ADDRESS)) + ), + ): selector.BooleanSelector(), + vol.Optional( + CONF_LIGHT_BLUE_BRIGHTNESS_ADDRESS, + default=defaults.get(CONF_LIGHT_BLUE_BRIGHTNESS_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + CONF_LIGHT_BLUE_BRIGHTNESS_STATE_ADDRESS, + default=defaults.get(CONF_LIGHT_BLUE_BRIGHTNESS_STATE_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + _invert_out_key(CONF_LIGHT_BLUE_BRIGHTNESS_STATE_ADDRESS), + default=bool( + defaults.get( + _invert_out_key(CONF_LIGHT_BLUE_BRIGHTNESS_STATE_ADDRESS) + ) + ), + ): selector.BooleanSelector(), + vol.Optional( + CONF_LIGHT_WHITE_ADDRESS, + default=defaults.get(CONF_LIGHT_WHITE_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + CONF_LIGHT_WHITE_STATE_ADDRESS, + default=defaults.get(CONF_LIGHT_WHITE_STATE_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + _invert_out_key(CONF_LIGHT_WHITE_STATE_ADDRESS), + default=bool( + defaults.get(_invert_out_key(CONF_LIGHT_WHITE_STATE_ADDRESS)) + ), + ): selector.BooleanSelector(), + vol.Optional( + CONF_LIGHT_WHITE_BRIGHTNESS_ADDRESS, + default=defaults.get(CONF_LIGHT_WHITE_BRIGHTNESS_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + CONF_LIGHT_WHITE_BRIGHTNESS_STATE_ADDRESS, + default=defaults.get(CONF_LIGHT_WHITE_BRIGHTNESS_STATE_ADDRESS, ""), + ): selector.TextSelector( + selector.TextSelectorConfig(type="text") + ), + vol.Optional( + _invert_out_key(CONF_LIGHT_WHITE_BRIGHTNESS_STATE_ADDRESS), + default=bool( + defaults.get( + _invert_out_key(CONF_LIGHT_WHITE_BRIGHTNESS_STATE_ADDRESS) + ) + ), + ): selector.BooleanSelector(), + vol.Optional(CONF_ENABLED, default=bool(defaults.get(CONF_ENABLED, True))): ( + selector.BooleanSelector() + ), + } + ) + + def _port_keys(port_type: str) -> list[str]: if port_type == "binary_sensor": return [CONF_STATE_ADDRESS] @@ -532,6 +926,41 @@ def _port_keys(port_type: str) -> list[str]: CONF_ANGLE_ADDRESS, CONF_ANGLE_STATE_ADDRESS, ] + if port_type == "light": + return [ + CONF_LIGHT_ADDRESS, + CONF_LIGHT_STATE_ADDRESS, + CONF_LIGHT_BRIGHTNESS_ADDRESS, + CONF_LIGHT_BRIGHTNESS_STATE_ADDRESS, + CONF_LIGHT_COLOR_ADDRESS, + CONF_LIGHT_COLOR_STATE_ADDRESS, + CONF_LIGHT_RGBW_ADDRESS, + CONF_LIGHT_RGBW_STATE_ADDRESS, + CONF_LIGHT_HUE_ADDRESS, + CONF_LIGHT_HUE_STATE_ADDRESS, + CONF_LIGHT_SATURATION_ADDRESS, + CONF_LIGHT_SATURATION_STATE_ADDRESS, + CONF_LIGHT_XYY_ADDRESS, + CONF_LIGHT_XYY_STATE_ADDRESS, + CONF_LIGHT_COLOR_TEMPERATURE_ADDRESS, + CONF_LIGHT_COLOR_TEMPERATURE_STATE_ADDRESS, + CONF_LIGHT_RED_ADDRESS, + CONF_LIGHT_RED_STATE_ADDRESS, + CONF_LIGHT_RED_BRIGHTNESS_ADDRESS, + CONF_LIGHT_RED_BRIGHTNESS_STATE_ADDRESS, + CONF_LIGHT_GREEN_ADDRESS, + CONF_LIGHT_GREEN_STATE_ADDRESS, + CONF_LIGHT_GREEN_BRIGHTNESS_ADDRESS, + CONF_LIGHT_GREEN_BRIGHTNESS_STATE_ADDRESS, + CONF_LIGHT_BLUE_ADDRESS, + CONF_LIGHT_BLUE_STATE_ADDRESS, + CONF_LIGHT_BLUE_BRIGHTNESS_ADDRESS, + CONF_LIGHT_BLUE_BRIGHTNESS_STATE_ADDRESS, + CONF_LIGHT_WHITE_ADDRESS, + CONF_LIGHT_WHITE_STATE_ADDRESS, + CONF_LIGHT_WHITE_BRIGHTNESS_ADDRESS, + CONF_LIGHT_WHITE_BRIGHTNESS_STATE_ADDRESS, + ] return [] diff --git a/custom_components/ha_knx_bridge/const.py b/custom_components/ha_knx_bridge/const.py index 7db8c41..feb3650 100644 --- a/custom_components/ha_knx_bridge/const.py +++ b/custom_components/ha_knx_bridge/const.py @@ -18,6 +18,48 @@ CONF_POSITION_STATE_ADDRESS = "position_state_address" CONF_ANGLE_ADDRESS = "angle_address" CONF_ANGLE_STATE_ADDRESS = "angle_state_address" +CONF_LIGHT_ADDRESS = "address" +CONF_LIGHT_STATE_ADDRESS = "state_address" +CONF_LIGHT_BRIGHTNESS_ADDRESS = "brightness_address" +CONF_LIGHT_BRIGHTNESS_STATE_ADDRESS = "brightness_state_address" +CONF_LIGHT_COLOR_ADDRESS = "color_address" +CONF_LIGHT_COLOR_STATE_ADDRESS = "color_state_address" +CONF_LIGHT_RGBW_ADDRESS = "rgbw_address" +CONF_LIGHT_RGBW_STATE_ADDRESS = "rgbw_state_address" +CONF_LIGHT_HUE_ADDRESS = "hue_address" +CONF_LIGHT_HUE_STATE_ADDRESS = "hue_state_address" +CONF_LIGHT_SATURATION_ADDRESS = "saturation_address" +CONF_LIGHT_SATURATION_STATE_ADDRESS = "saturation_state_address" +CONF_LIGHT_XYY_ADDRESS = "xyy_address" +CONF_LIGHT_XYY_STATE_ADDRESS = "xyy_state_address" +CONF_LIGHT_COLOR_TEMPERATURE_ADDRESS = "color_temperature_address" +CONF_LIGHT_COLOR_TEMPERATURE_STATE_ADDRESS = "color_temperature_state_address" +CONF_LIGHT_COLOR_TEMPERATURE_MODE = "color_temperature_mode" +CONF_LIGHT_MIN_KELVIN = "min_kelvin" +CONF_LIGHT_MAX_KELVIN = "max_kelvin" +CONF_LIGHT_RED_ADDRESS = "red_address" +CONF_LIGHT_RED_STATE_ADDRESS = "red_state_address" +CONF_LIGHT_RED_BRIGHTNESS_ADDRESS = "red_brightness_address" +CONF_LIGHT_RED_BRIGHTNESS_STATE_ADDRESS = "red_brightness_state_address" +CONF_LIGHT_GREEN_ADDRESS = "green_address" +CONF_LIGHT_GREEN_STATE_ADDRESS = "green_state_address" +CONF_LIGHT_GREEN_BRIGHTNESS_ADDRESS = "green_brightness_address" +CONF_LIGHT_GREEN_BRIGHTNESS_STATE_ADDRESS = "green_brightness_state_address" +CONF_LIGHT_BLUE_ADDRESS = "blue_address" +CONF_LIGHT_BLUE_STATE_ADDRESS = "blue_state_address" +CONF_LIGHT_BLUE_BRIGHTNESS_ADDRESS = "blue_brightness_address" +CONF_LIGHT_BLUE_BRIGHTNESS_STATE_ADDRESS = "blue_brightness_state_address" +CONF_LIGHT_WHITE_ADDRESS = "white_address" +CONF_LIGHT_WHITE_STATE_ADDRESS = "white_state_address" +CONF_LIGHT_WHITE_BRIGHTNESS_ADDRESS = "white_brightness_address" +CONF_LIGHT_WHITE_BRIGHTNESS_STATE_ADDRESS = "white_brightness_state_address" + +LIGHT_COLOR_TEMPERATURE_MODES = [ + "relative", + "absolute", + "absolute_float", +] + ADDRESS_DPT_MAP: dict[str, str] = { CONF_STATE_ADDRESS: "1", CONF_COMMAND_ADDRESS: "1", @@ -28,6 +70,38 @@ ADDRESS_DPT_MAP: dict[str, str] = { CONF_POSITION_STATE_ADDRESS: "5.001", CONF_ANGLE_ADDRESS: "5.001", CONF_ANGLE_STATE_ADDRESS: "5.001", + CONF_LIGHT_ADDRESS: "1.001", + CONF_LIGHT_STATE_ADDRESS: "1.001", + CONF_LIGHT_BRIGHTNESS_ADDRESS: "5.001", + CONF_LIGHT_BRIGHTNESS_STATE_ADDRESS: "5.001", + CONF_LIGHT_COLOR_ADDRESS: "232.600", + CONF_LIGHT_COLOR_STATE_ADDRESS: "232.600", + CONF_LIGHT_RGBW_ADDRESS: "251.600", + CONF_LIGHT_RGBW_STATE_ADDRESS: "251.600", + CONF_LIGHT_HUE_ADDRESS: "5.003", + CONF_LIGHT_HUE_STATE_ADDRESS: "5.003", + CONF_LIGHT_SATURATION_ADDRESS: "5.001", + CONF_LIGHT_SATURATION_STATE_ADDRESS: "5.001", + CONF_LIGHT_XYY_ADDRESS: "242.600", + CONF_LIGHT_XYY_STATE_ADDRESS: "242.600", + CONF_LIGHT_COLOR_TEMPERATURE_ADDRESS: "5.001/7.600/9", + CONF_LIGHT_COLOR_TEMPERATURE_STATE_ADDRESS: "5.001/7.600/9", + CONF_LIGHT_RED_ADDRESS: "1.001", + CONF_LIGHT_RED_STATE_ADDRESS: "1.001", + CONF_LIGHT_RED_BRIGHTNESS_ADDRESS: "5.001", + CONF_LIGHT_RED_BRIGHTNESS_STATE_ADDRESS: "5.001", + CONF_LIGHT_GREEN_ADDRESS: "1.001", + CONF_LIGHT_GREEN_STATE_ADDRESS: "1.001", + CONF_LIGHT_GREEN_BRIGHTNESS_ADDRESS: "5.001", + CONF_LIGHT_GREEN_BRIGHTNESS_STATE_ADDRESS: "5.001", + CONF_LIGHT_BLUE_ADDRESS: "1.001", + CONF_LIGHT_BLUE_STATE_ADDRESS: "1.001", + CONF_LIGHT_BLUE_BRIGHTNESS_ADDRESS: "5.001", + CONF_LIGHT_BLUE_BRIGHTNESS_STATE_ADDRESS: "5.001", + CONF_LIGHT_WHITE_ADDRESS: "1.001", + CONF_LIGHT_WHITE_STATE_ADDRESS: "1.001", + CONF_LIGHT_WHITE_BRIGHTNESS_ADDRESS: "5.001", + CONF_LIGHT_WHITE_BRIGHTNESS_STATE_ADDRESS: "5.001", } ADDRESS_VALUE_TYPE: dict[str, str] = { @@ -35,6 +109,12 @@ ADDRESS_VALUE_TYPE: dict[str, str] = { CONF_POSITION_STATE_ADDRESS: "percent", CONF_ANGLE_ADDRESS: "percent", CONF_ANGLE_STATE_ADDRESS: "percent", + CONF_LIGHT_BRIGHTNESS_STATE_ADDRESS: "percent", + CONF_LIGHT_SATURATION_STATE_ADDRESS: "percent", + CONF_LIGHT_RED_BRIGHTNESS_STATE_ADDRESS: "percent", + CONF_LIGHT_GREEN_BRIGHTNESS_STATE_ADDRESS: "percent", + CONF_LIGHT_BLUE_BRIGHTNESS_STATE_ADDRESS: "percent", + CONF_LIGHT_WHITE_BRIGHTNESS_STATE_ADDRESS: "percent", } ADDRESS_EVENT_TYPE: dict[str, str] = { @@ -44,4 +124,14 @@ ADDRESS_EVENT_TYPE: dict[str, str] = { CONF_POSITION_STATE_ADDRESS: "percent", CONF_ANGLE_ADDRESS: "percent", CONF_ANGLE_STATE_ADDRESS: "percent", + CONF_LIGHT_BRIGHTNESS_ADDRESS: "percent", + CONF_LIGHT_COLOR_ADDRESS: "232.600", + CONF_LIGHT_RGBW_ADDRESS: "251.600", + CONF_LIGHT_HUE_ADDRESS: "angle", + CONF_LIGHT_SATURATION_ADDRESS: "percent", + CONF_LIGHT_XYY_ADDRESS: "242.600", + CONF_LIGHT_RED_BRIGHTNESS_ADDRESS: "percent", + CONF_LIGHT_GREEN_BRIGHTNESS_ADDRESS: "percent", + CONF_LIGHT_BLUE_BRIGHTNESS_ADDRESS: "percent", + CONF_LIGHT_WHITE_BRIGHTNESS_ADDRESS: "percent", } diff --git a/custom_components/ha_knx_bridge/manifest.json b/custom_components/ha_knx_bridge/manifest.json index 6c93e64..7db4c7c 100644 --- a/custom_components/ha_knx_bridge/manifest.json +++ b/custom_components/ha_knx_bridge/manifest.json @@ -1,7 +1,7 @@ { "domain": "ha_knx_bridge", "name": "HA KNX Bridge", - "version": "0.0.20", + "version": "0.0.21", "config_flow": true, "documentation": "https://github.com/bahmcloud/HA-KNX-Bridge", "issue_tracker": "https://github.com/bahmcloud/HA-KNX-Bridge/issues", diff --git a/custom_components/ha_knx_bridge/strings.json b/custom_components/ha_knx_bridge/strings.json index 3a48953..3b9ceee 100644 --- a/custom_components/ha_knx_bridge/strings.json +++ b/custom_components/ha_knx_bridge/strings.json @@ -18,7 +18,8 @@ }, "options": { "abort": { - "no_ports_to_remove": "There are no ports to remove yet." + "no_ports_to_remove": "There are no ports to remove yet.", + "no_ports_to_edit": "There are no ports to edit yet." }, "step": { "init": { @@ -28,6 +29,8 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", + "edit_port": "Edit port", "remove_port": "Remove port" } }, @@ -36,7 +39,8 @@ "data": { "entity_id": "Binary sensor entity", "state_address": "State group address (DPT 1)", - "state_address_invert_outgoing": "Invert outgoing" + "state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" } }, "add_switch": { @@ -44,9 +48,9 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", - "state_address_invert_outgoing": "Invert outgoing" + "state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" } }, "add_cover": { @@ -54,19 +58,69 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", - "angle_state_address_invert_outgoing": "Invert outgoing" + "angle_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" } }, "remove_port": { @@ -74,6 +128,101 @@ "data": { "port_id": "Port to remove" } + }, + "edit_port": { + "title": "Edit Port", + "data": { + "port_id": "Port to edit" + } + }, + "edit_binary_sensor": { + "title": "Edit Binary Sensor Port", + "data": { + "entity_id": "Binary sensor entity", + "state_address": "State group address (DPT 1)", + "state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, + "edit_switch": { + "title": "Edit Switch Port", + "data": { + "entity_id": "Switch entity", + "command_address": "Command group address (DPT 1)", + "state_address": "State group address (DPT 1)", + "state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, + "edit_cover": { + "title": "Edit Cover Port", + "data": { + "entity_id": "Cover entity", + "move_long_address": "Move long (DPT 1.008 Up/Down)", + "move_short_address": "Move short (DPT 1.007 Step)", + "stop_address": "Stop (DPT 1)", + "position_address": "Set position (DPT 5.001)", + "position_state_address": "State position (DPT 5.001)", + "position_state_address_invert_outgoing": "Invert outgoing", + "angle_address": "Set tilt (DPT 5.001)", + "angle_state_address": "State tilt (DPT 5.001)", + "angle_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } }, @@ -101,7 +250,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -116,23 +264,76 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } } } + }, + "light": { + "step": { + "user": { + "title": "Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + } + } } } } diff --git a/custom_components/ha_knx_bridge/translations/ar.json b/custom_components/ha_knx_bridge/translations/ar.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/ar.json +++ b/custom_components/ha_knx_bridge/translations/ar.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/bg.json b/custom_components/ha_knx_bridge/translations/bg.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/bg.json +++ b/custom_components/ha_knx_bridge/translations/bg.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/ca.json b/custom_components/ha_knx_bridge/translations/ca.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/ca.json +++ b/custom_components/ha_knx_bridge/translations/ca.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/cs.json b/custom_components/ha_knx_bridge/translations/cs.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/cs.json +++ b/custom_components/ha_knx_bridge/translations/cs.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/da.json b/custom_components/ha_knx_bridge/translations/da.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/da.json +++ b/custom_components/ha_knx_bridge/translations/da.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/de.json b/custom_components/ha_knx_bridge/translations/de.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/de.json +++ b/custom_components/ha_knx_bridge/translations/de.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/el.json b/custom_components/ha_knx_bridge/translations/el.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/el.json +++ b/custom_components/ha_knx_bridge/translations/el.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/en.json b/custom_components/ha_knx_bridge/translations/en.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/en.json +++ b/custom_components/ha_knx_bridge/translations/en.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/es.json b/custom_components/ha_knx_bridge/translations/es.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/es.json +++ b/custom_components/ha_knx_bridge/translations/es.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/et.json b/custom_components/ha_knx_bridge/translations/et.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/et.json +++ b/custom_components/ha_knx_bridge/translations/et.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/fi.json b/custom_components/ha_knx_bridge/translations/fi.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/fi.json +++ b/custom_components/ha_knx_bridge/translations/fi.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/fr.json b/custom_components/ha_knx_bridge/translations/fr.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/fr.json +++ b/custom_components/ha_knx_bridge/translations/fr.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/he.json b/custom_components/ha_knx_bridge/translations/he.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/he.json +++ b/custom_components/ha_knx_bridge/translations/he.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/hi.json b/custom_components/ha_knx_bridge/translations/hi.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/hi.json +++ b/custom_components/ha_knx_bridge/translations/hi.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/hr.json b/custom_components/ha_knx_bridge/translations/hr.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/hr.json +++ b/custom_components/ha_knx_bridge/translations/hr.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/hu.json b/custom_components/ha_knx_bridge/translations/hu.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/hu.json +++ b/custom_components/ha_knx_bridge/translations/hu.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/id.json b/custom_components/ha_knx_bridge/translations/id.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/id.json +++ b/custom_components/ha_knx_bridge/translations/id.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/is.json b/custom_components/ha_knx_bridge/translations/is.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/is.json +++ b/custom_components/ha_knx_bridge/translations/is.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/it.json b/custom_components/ha_knx_bridge/translations/it.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/it.json +++ b/custom_components/ha_knx_bridge/translations/it.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/ja.json b/custom_components/ha_knx_bridge/translations/ja.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/ja.json +++ b/custom_components/ha_knx_bridge/translations/ja.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/ko.json b/custom_components/ha_knx_bridge/translations/ko.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/ko.json +++ b/custom_components/ha_knx_bridge/translations/ko.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/lt.json b/custom_components/ha_knx_bridge/translations/lt.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/lt.json +++ b/custom_components/ha_knx_bridge/translations/lt.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/lv.json b/custom_components/ha_knx_bridge/translations/lv.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/lv.json +++ b/custom_components/ha_knx_bridge/translations/lv.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/nb.json b/custom_components/ha_knx_bridge/translations/nb.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/nb.json +++ b/custom_components/ha_knx_bridge/translations/nb.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/nl.json b/custom_components/ha_knx_bridge/translations/nl.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/nl.json +++ b/custom_components/ha_knx_bridge/translations/nl.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/pl.json b/custom_components/ha_knx_bridge/translations/pl.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/pl.json +++ b/custom_components/ha_knx_bridge/translations/pl.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/pt-BR.json b/custom_components/ha_knx_bridge/translations/pt-BR.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/pt-BR.json +++ b/custom_components/ha_knx_bridge/translations/pt-BR.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/pt.json b/custom_components/ha_knx_bridge/translations/pt.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/pt.json +++ b/custom_components/ha_knx_bridge/translations/pt.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/ro.json b/custom_components/ha_knx_bridge/translations/ro.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/ro.json +++ b/custom_components/ha_knx_bridge/translations/ro.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/ru.json b/custom_components/ha_knx_bridge/translations/ru.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/ru.json +++ b/custom_components/ha_knx_bridge/translations/ru.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/sk.json b/custom_components/ha_knx_bridge/translations/sk.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/sk.json +++ b/custom_components/ha_knx_bridge/translations/sk.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/sl.json b/custom_components/ha_knx_bridge/translations/sl.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/sl.json +++ b/custom_components/ha_knx_bridge/translations/sl.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/sv.json b/custom_components/ha_knx_bridge/translations/sv.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/sv.json +++ b/custom_components/ha_knx_bridge/translations/sv.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/th.json b/custom_components/ha_knx_bridge/translations/th.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/th.json +++ b/custom_components/ha_knx_bridge/translations/th.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/tr.json b/custom_components/ha_knx_bridge/translations/tr.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/tr.json +++ b/custom_components/ha_knx_bridge/translations/tr.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/uk.json b/custom_components/ha_knx_bridge/translations/uk.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/uk.json +++ b/custom_components/ha_knx_bridge/translations/uk.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/vi.json b/custom_components/ha_knx_bridge/translations/vi.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/vi.json +++ b/custom_components/ha_knx_bridge/translations/vi.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/zh-Hans.json b/custom_components/ha_knx_bridge/translations/zh-Hans.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/zh-Hans.json +++ b/custom_components/ha_knx_bridge/translations/zh-Hans.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/custom_components/ha_knx_bridge/translations/zh-Hant.json b/custom_components/ha_knx_bridge/translations/zh-Hant.json index 756c75b..2812500 100644 --- a/custom_components/ha_knx_bridge/translations/zh-Hant.json +++ b/custom_components/ha_knx_bridge/translations/zh-Hant.json @@ -12,6 +12,7 @@ "add_binary_sensor": "Add binary sensor port", "add_switch": "Add switch port", "add_cover": "Add cover port", + "add_light": "Add light port", "edit_port": "Edit port", "remove_port": "Remove port" } @@ -30,7 +31,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -41,22 +41,71 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } }, + "add_light": { + "title": "Add Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } + }, "remove_port": { "title": "Remove Port", "data": { @@ -83,7 +132,6 @@ "data": { "entity_id": "Switch entity", "command_address": "Command group address (DPT 1)", - "command_address_invert_outgoing": "Invert outgoing", "state_address": "State group address (DPT 1)", "state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" @@ -94,21 +142,70 @@ "data": { "entity_id": "Cover entity", "move_long_address": "Move long (DPT 1.008 Up/Down)", - "move_long_address_invert_outgoing": "Invert outgoing", "move_short_address": "Move short (DPT 1.007 Step)", - "move_short_address_invert_outgoing": "Invert outgoing", "stop_address": "Stop (DPT 1)", - "stop_address_invert_outgoing": "Invert outgoing", "position_address": "Set position (DPT 5.001)", - "position_address_invert_outgoing": "Invert outgoing", "position_state_address": "State position (DPT 5.001)", "position_state_address_invert_outgoing": "Invert outgoing", "angle_address": "Set tilt (DPT 5.001)", - "angle_address_invert_outgoing": "Invert outgoing", "angle_state_address": "State tilt (DPT 5.001)", "angle_state_address_invert_outgoing": "Invert outgoing", "enabled": "Enabled" } + }, + "edit_light": { + "title": "Edit Light Port", + "data": { + "entity_id": "Light entity", + "address": "On/off address (DPT 1.001)", + "state_address": "On/off state address (DPT 1.001)", + "state_address_invert_outgoing": "Invert outgoing", + "brightness_address": "Brightness address (DPT 5.001)", + "brightness_state_address": "Brightness state address (DPT 5.001)", + "brightness_state_address_invert_outgoing": "Invert outgoing", + "color_address": "RGB color address (DPT 232.600)", + "color_state_address": "RGB color state address (DPT 232.600)", + "rgbw_address": "RGBW color address (DPT 251.600)", + "rgbw_state_address": "RGBW color state address (DPT 251.600)", + "hue_address": "Hue address (DPT 5.003)", + "hue_state_address": "Hue state address (DPT 5.003)", + "saturation_address": "Saturation address (DPT 5.001)", + "saturation_state_address": "Saturation state address (DPT 5.001)", + "saturation_state_address_invert_outgoing": "Invert outgoing", + "xyy_address": "XY color address (DPT 242.600)", + "xyy_state_address": "XY color state address (DPT 242.600)", + "color_temperature_address": "Color temperature address (DPT 5.001/7.600/9)", + "color_temperature_state_address": "Color temperature state address (DPT 5.001/7.600/9)", + "color_temperature_state_address_invert_outgoing": "Invert outgoing", + "color_temperature_mode": "Color temperature mode", + "min_kelvin": "Min color temperature (K)", + "max_kelvin": "Max color temperature (K)", + "red_address": "Red on/off address (DPT 1.001)", + "red_state_address": "Red on/off state address (DPT 1.001)", + "red_state_address_invert_outgoing": "Invert outgoing", + "red_brightness_address": "Red brightness address (DPT 5.001)", + "red_brightness_state_address": "Red brightness state address (DPT 5.001)", + "red_brightness_state_address_invert_outgoing": "Invert outgoing", + "green_address": "Green on/off address (DPT 1.001)", + "green_state_address": "Green on/off state address (DPT 1.001)", + "green_state_address_invert_outgoing": "Invert outgoing", + "green_brightness_address": "Green brightness address (DPT 5.001)", + "green_brightness_state_address": "Green brightness state address (DPT 5.001)", + "green_brightness_state_address_invert_outgoing": "Invert outgoing", + "blue_address": "Blue on/off address (DPT 1.001)", + "blue_state_address": "Blue on/off state address (DPT 1.001)", + "blue_state_address_invert_outgoing": "Invert outgoing", + "blue_brightness_address": "Blue brightness address (DPT 5.001)", + "blue_brightness_state_address": "Blue brightness state address (DPT 5.001)", + "blue_brightness_state_address_invert_outgoing": "Invert outgoing", + "white_address": "White on/off address (DPT 1.001)", + "white_state_address": "White on/off state address (DPT 1.001)", + "white_state_address_invert_outgoing": "Invert outgoing", + "white_brightness_address": "White brightness address (DPT 5.001)", + "white_brightness_state_address": "White brightness state address (DPT 5.001)", + "white_brightness_state_address_invert_outgoing": "Invert outgoing", + "enabled": "Enabled" + } } } } diff --git a/logo.jpg b/logo.jpg new file mode 100644 index 0000000..6bce599 Binary files /dev/null and b/logo.jpg differ