Make mqtt internal subscription a normal function (#118092)
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
This commit is contained in:
parent
ecd48cc447
commit
9be829ba1f
30 changed files with 140 additions and 83 deletions
|
@ -243,7 +243,7 @@ class MqttLock(MqttEntity, LockEntity):
|
|||
|
||||
async def _subscribe_topics(self) -> None:
|
||||
"""(Re)Subscribe to topics."""
|
||||
await subscription.async_subscribe_topics(self.hass, self._sub_state)
|
||||
subscription.async_subscribe_topics_internal(self.hass, self._sub_state)
|
||||
|
||||
async def async_lock(self, **kwargs: Any) -> None:
|
||||
"""Lock the device.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue