mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +02:00
@@ -139,7 +139,6 @@ class LcnEntity(Entity):
|
|||||||
|
|
||||||
async def async_added_to_hass(self):
|
async def async_added_to_hass(self):
|
||||||
"""Run when entity about to be added to hass."""
|
"""Run when entity about to be added to hass."""
|
||||||
if not self.device_connection.is_group:
|
|
||||||
self.device_connection.register_for_inputs(self.input_received)
|
self.device_connection.register_for_inputs(self.input_received)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
@@ -50,7 +50,6 @@ class LcnRegulatorLockSensor(LcnEntity, BinarySensorEntity):
|
|||||||
async def async_added_to_hass(self):
|
async def async_added_to_hass(self):
|
||||||
"""Run when entity about to be added to hass."""
|
"""Run when entity about to be added to hass."""
|
||||||
await super().async_added_to_hass()
|
await super().async_added_to_hass()
|
||||||
if not self.device_connection.is_group:
|
|
||||||
await self.device_connection.activate_status_request_handler(
|
await self.device_connection.activate_status_request_handler(
|
||||||
self.setpoint_variable
|
self.setpoint_variable
|
||||||
)
|
)
|
||||||
@@ -86,7 +85,6 @@ class LcnBinarySensor(LcnEntity, BinarySensorEntity):
|
|||||||
async def async_added_to_hass(self):
|
async def async_added_to_hass(self):
|
||||||
"""Run when entity about to be added to hass."""
|
"""Run when entity about to be added to hass."""
|
||||||
await super().async_added_to_hass()
|
await super().async_added_to_hass()
|
||||||
if not self.device_connection.is_group:
|
|
||||||
await self.device_connection.activate_status_request_handler(
|
await self.device_connection.activate_status_request_handler(
|
||||||
self.bin_sensor_port
|
self.bin_sensor_port
|
||||||
)
|
)
|
||||||
@@ -118,7 +116,6 @@ class LcnLockKeysSensor(LcnEntity, BinarySensorEntity):
|
|||||||
async def async_added_to_hass(self):
|
async def async_added_to_hass(self):
|
||||||
"""Run when entity about to be added to hass."""
|
"""Run when entity about to be added to hass."""
|
||||||
await super().async_added_to_hass()
|
await super().async_added_to_hass()
|
||||||
if not self.device_connection.is_group:
|
|
||||||
await self.device_connection.activate_status_request_handler(self.source)
|
await self.device_connection.activate_status_request_handler(self.source)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
@@ -63,7 +63,6 @@ class LcnClimate(LcnEntity, ClimateEntity):
|
|||||||
async def async_added_to_hass(self):
|
async def async_added_to_hass(self):
|
||||||
"""Run when entity about to be added to hass."""
|
"""Run when entity about to be added to hass."""
|
||||||
await super().async_added_to_hass()
|
await super().async_added_to_hass()
|
||||||
if not self.device_connection.is_group:
|
|
||||||
await self.device_connection.activate_status_request_handler(self.variable)
|
await self.device_connection.activate_status_request_handler(self.variable)
|
||||||
await self.device_connection.activate_status_request_handler(self.setpoint)
|
await self.device_connection.activate_status_request_handler(self.setpoint)
|
||||||
|
|
||||||
|
@@ -161,7 +161,6 @@ class LcnRelayCover(LcnEntity, CoverEntity):
|
|||||||
async def async_added_to_hass(self):
|
async def async_added_to_hass(self):
|
||||||
"""Run when entity about to be added to hass."""
|
"""Run when entity about to be added to hass."""
|
||||||
await super().async_added_to_hass()
|
await super().async_added_to_hass()
|
||||||
if not self.device_connection.is_group:
|
|
||||||
await self.device_connection.activate_status_request_handler(self.motor)
|
await self.device_connection.activate_status_request_handler(self.motor)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
@@ -68,7 +68,6 @@ class LcnOutputLight(LcnEntity, LightEntity):
|
|||||||
async def async_added_to_hass(self):
|
async def async_added_to_hass(self):
|
||||||
"""Run when entity about to be added to hass."""
|
"""Run when entity about to be added to hass."""
|
||||||
await super().async_added_to_hass()
|
await super().async_added_to_hass()
|
||||||
if not self.device_connection.is_group:
|
|
||||||
await self.device_connection.activate_status_request_handler(self.output)
|
await self.device_connection.activate_status_request_handler(self.output)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@@ -156,7 +155,6 @@ class LcnRelayLight(LcnEntity, LightEntity):
|
|||||||
async def async_added_to_hass(self):
|
async def async_added_to_hass(self):
|
||||||
"""Run when entity about to be added to hass."""
|
"""Run when entity about to be added to hass."""
|
||||||
await super().async_added_to_hass()
|
await super().async_added_to_hass()
|
||||||
if not self.device_connection.is_group:
|
|
||||||
await self.device_connection.activate_status_request_handler(self.output)
|
await self.device_connection.activate_status_request_handler(self.output)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
@@ -2,10 +2,6 @@
|
|||||||
"domain": "lcn",
|
"domain": "lcn",
|
||||||
"name": "LCN",
|
"name": "LCN",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/lcn",
|
"documentation": "https://www.home-assistant.io/integrations/lcn",
|
||||||
"requirements": [
|
"requirements": ["pypck==0.7.7"],
|
||||||
"pypck==0.7.8"
|
"codeowners": ["@alengwenus"]
|
||||||
],
|
|
||||||
"codeowners": [
|
|
||||||
"@alengwenus"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
@@ -57,7 +57,6 @@ class LcnVariableSensor(LcnEntity):
|
|||||||
async def async_added_to_hass(self):
|
async def async_added_to_hass(self):
|
||||||
"""Run when entity about to be added to hass."""
|
"""Run when entity about to be added to hass."""
|
||||||
await super().async_added_to_hass()
|
await super().async_added_to_hass()
|
||||||
if not self.device_connection.is_group:
|
|
||||||
await self.device_connection.activate_status_request_handler(self.variable)
|
await self.device_connection.activate_status_request_handler(self.variable)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@@ -99,7 +98,6 @@ class LcnLedLogicSensor(LcnEntity):
|
|||||||
async def async_added_to_hass(self):
|
async def async_added_to_hass(self):
|
||||||
"""Run when entity about to be added to hass."""
|
"""Run when entity about to be added to hass."""
|
||||||
await super().async_added_to_hass()
|
await super().async_added_to_hass()
|
||||||
if not self.device_connection.is_group:
|
|
||||||
await self.device_connection.activate_status_request_handler(self.source)
|
await self.device_connection.activate_status_request_handler(self.source)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
@@ -50,7 +50,6 @@ class LcnOutputSwitch(LcnEntity, SwitchEntity):
|
|||||||
async def async_added_to_hass(self):
|
async def async_added_to_hass(self):
|
||||||
"""Run when entity about to be added to hass."""
|
"""Run when entity about to be added to hass."""
|
||||||
await super().async_added_to_hass()
|
await super().async_added_to_hass()
|
||||||
if not self.device_connection.is_group:
|
|
||||||
await self.device_connection.activate_status_request_handler(self.output)
|
await self.device_connection.activate_status_request_handler(self.output)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@@ -98,7 +97,6 @@ class LcnRelaySwitch(LcnEntity, SwitchEntity):
|
|||||||
async def async_added_to_hass(self):
|
async def async_added_to_hass(self):
|
||||||
"""Run when entity about to be added to hass."""
|
"""Run when entity about to be added to hass."""
|
||||||
await super().async_added_to_hass()
|
await super().async_added_to_hass()
|
||||||
if not self.device_connection.is_group:
|
|
||||||
await self.device_connection.activate_status_request_handler(self.output)
|
await self.device_connection.activate_status_request_handler(self.output)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
@@ -1607,7 +1607,7 @@ pyownet==0.10.0.post1
|
|||||||
pypca==0.0.7
|
pypca==0.0.7
|
||||||
|
|
||||||
# homeassistant.components.lcn
|
# homeassistant.components.lcn
|
||||||
pypck==0.7.8
|
pypck==0.7.7
|
||||||
|
|
||||||
# homeassistant.components.pjlink
|
# homeassistant.components.pjlink
|
||||||
pypjlink2==1.2.1
|
pypjlink2==1.2.1
|
||||||
|
Reference in New Issue
Block a user