-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adapt to changed mqtt.async_publish in Home Assistant 2021.12 #42
Comments
HA 2021.12 Log Messatge:
Looks like the Code in Question is: # Service to publish a message on MQTT.
async def update_service(call):
"""Service to send a message."""
tmpVar.received_update = False
tmpVar.update_data = None
tmpVar.last_update = None
mqtt.async_publish(topic+'/bridge/networkmap/routes', 'graphviz') # <------------ |
change this line to: |
@SlavikS-PL Maybe this must be changed too: EDIT: There is already a pull request with the fix: #44 |
Why should this be removed? integration broken for HA >= 2021.12 Problem detailed here rgruebel/ha_zigbee2mqtt_networkmap#42 and here, hacs/integration#2517
Why should this be removed? integration broken for HA >= 2021.12 Problem detailed here rgruebel/ha_zigbee2mqtt_networkmap#42 and here, hacs/integration#2517
mqtt.async_publish
is a couroutine in HA core 2021.12: home-assistant/core#58441This is a breaking change, and the custom component will stop working if not adapted.
This can be solved as suggested here: blakeblackshear/frigate-hass-integration#166
The text was updated successfully, but these errors were encountered: