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
|
@ -288,7 +288,7 @@ class MqttSiren(MqttEntity, SirenEntity):
|
|||
|
||||
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)
|
||||
|
||||
@property
|
||||
def extra_state_attributes(self) -> dict[str, Any] | None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue