Skip to content

Commit

Permalink
Fix reintroduced bug mentioned in #8
Browse files Browse the repository at this point in the history
  • Loading branch information
hbrennhaeuser committed Apr 14, 2024
1 parent 7ecc340 commit 8b2f0c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/ntfy/notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def _get_auth(self):
def send_message(self, message="", **kwargs):
"""Send message"""
title=kwargs.get(ATTR_TITLE,ATTR_TITLE_DEFAULT)
data=kwargs.get(ATTR_DATA,{})
data=kwargs.get(ATTR_DATA) or {}

req_data=None
req_headers={}
Expand Down

0 comments on commit 8b2f0c4

Please sign in to comment.