Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions homeassistant/components/notify/clicksend.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def validate_sender(config):
"""Set the optional sender name if sender name is not provided."""
if CONF_SENDER in config:
return config
config[CONF_SENDER] = config[CONF_RECIPIENT]
config[CONF_SENDER] = 'hass'
Comment thread
JaxomCS marked this conversation as resolved.
Outdated
return config


Expand Down Expand Up @@ -61,7 +61,7 @@ def __init__(self, config):
self.username = config.get(CONF_USERNAME)
self.api_key = config.get(CONF_API_KEY)
self.recipients = config.get(CONF_RECIPIENT)
self.sender = config.get(CONF_SENDER, CONF_RECIPIENT)
self.sender = config.get(CONF_SENDER)

def send_message(self, message="", **kwargs):
"""Send a message to a user."""
Expand Down