Skip to content

Commit

Permalink
API update.
Browse files Browse the repository at this point in the history
  • Loading branch information
cerebrate authored Jan 6, 2022
1 parent f58c2f2 commit b1c61a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/notify_mqtt/notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ async def async_send_message(self, message, **kwargs):
dto.update(data)

topic_message = json.dumps(dto)
self.hass.components.mqtt.publish(self.topic, topic_message)
self.hass.components.mqtt.publish(self.hass, self.topic, topic_message)

0 comments on commit b1c61a8

Please sign in to comment.