Added Alarm LEDs
This commit is contained in:
parent
23d55ddf7a
commit
0b1a2e54b9
|
@ -78,6 +78,10 @@ def add_knx_devices(devices, groups):
|
|||
switches += [DeviceInfo(f"SzeneEingang{n}", f"Eingang Szene {i}") for i, n in scene_button_names[2:]]
|
||||
switches += [DeviceInfo(f"SzeneTerrassentuer{n}", f"Wohnzimmer Terrassentür Szene {i}")
|
||||
for i, n in scene_button_names[2: 4]]
|
||||
switches += [DeviceInfo("AlarmLEDLinksNormal", "alarm_led_links_normal"),
|
||||
DeviceInfo("AlarmLEDLinksUeberlagert", "alarm_led_links_ueberlagert"),
|
||||
DeviceInfo("AlarmLEDRechtsNormal", "alarm_led_rechts_normal"),
|
||||
DeviceInfo("AlarmLEDRechtsUeberlagert", "alarm_led_rechts_ueberlagert"),]
|
||||
|
||||
power_plugs = [
|
||||
# Vorratsraum
|
||||
|
|
|
@ -96,9 +96,10 @@ cover_half:
|
|||
|
||||
logger:
|
||||
default: info
|
||||
# logs:
|
||||
# xknx.telegram: debug
|
||||
# xknx.knx: debug
|
||||
logs:
|
||||
custom_components.fhem: debug
|
||||
#custom_components: debug
|
||||
#custom_components.reconnecting_client: debug
|
||||
|
||||
# Sensors
|
||||
#sensor:
|
||||
|
|
|
@ -50,7 +50,7 @@ class ReconnectingClient:
|
|||
try:
|
||||
reader, writer = await asyncio.open_connection(self._host, self._port)
|
||||
self._connection_last_state = 'CONNECTED'
|
||||
|
||||
_LOGGER.debug(f"{self._connection_name} starting connection")
|
||||
self._writer = writer
|
||||
self.connected = True
|
||||
await self._connection_status_changed_callback('connected')
|
||||
|
@ -61,6 +61,7 @@ class ReconnectingClient:
|
|||
if not line:
|
||||
raise OSError("Disconnect")
|
||||
line = line.decode()
|
||||
_LOGGER.debug(f"{self._connection_name} received line - passing along '{line}'")
|
||||
await self._receive_line_callback(line)
|
||||
except OSError as e:
|
||||
if self._connection_last_state != 'FAILED':
|
||||
|
|
Loading…
Reference in New Issue