mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 15:47:12 +00:00
Revert "Bump pypck to 0.7.8" (#44884)
This reverts commit addafd517f3617071468b2f4ae3fa31f655a9ed2.
This commit is contained in:
parent
9c478e8de7
commit
57d119a7fe
@ -139,8 +139,7 @@ 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
|
||||||
def name(self):
|
def name(self):
|
||||||
|
@ -50,10 +50,9 @@ 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
|
)
|
||||||
)
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def is_on(self):
|
def is_on(self):
|
||||||
@ -86,10 +85,9 @@ 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
|
)
|
||||||
)
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def is_on(self):
|
def is_on(self):
|
||||||
@ -118,8 +116,7 @@ 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
|
||||||
def is_on(self):
|
def is_on(self):
|
||||||
|
@ -63,9 +63,8 @@ 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)
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def supported_features(self):
|
def supported_features(self):
|
||||||
|
@ -161,8 +161,7 @@ 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
|
||||||
def is_closed(self):
|
def is_closed(self):
|
||||||
|
@ -68,8 +68,7 @@ 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
|
||||||
def supported_features(self):
|
def supported_features(self):
|
||||||
@ -156,8 +155,7 @@ 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
|
||||||
def is_on(self):
|
def is_on(self):
|
||||||
|
@ -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,8 +57,7 @@ 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
|
||||||
def state(self):
|
def state(self):
|
||||||
@ -99,8 +98,7 @@ 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
|
||||||
def state(self):
|
def state(self):
|
||||||
|
@ -50,8 +50,7 @@ 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
|
||||||
def is_on(self):
|
def is_on(self):
|
||||||
@ -98,8 +97,7 @@ 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
|
||||||
def is_on(self):
|
def is_on(self):
|
||||||
|
@ -1604,7 +1604,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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user