Add new data fields and bump python-join-api (#22472)
* Add new data fields and bump python-join-api * Update __init__.py
This commit is contained in:
parent
c7904a4b37
commit
b8e38c1b25
2 changed files with 5 additions and 2 deletions
|
@ -6,7 +6,7 @@ import voluptuous as vol
|
||||||
import homeassistant.helpers.config_validation as cv
|
import homeassistant.helpers.config_validation as cv
|
||||||
from homeassistant.const import CONF_NAME, CONF_API_KEY
|
from homeassistant.const import CONF_NAME, CONF_API_KEY
|
||||||
|
|
||||||
REQUIREMENTS = ['python-join-api==0.0.2']
|
REQUIREMENTS = ['python-join-api==0.0.4']
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ from homeassistant.components.notify import (
|
||||||
from homeassistant.const import CONF_API_KEY
|
from homeassistant.const import CONF_API_KEY
|
||||||
import homeassistant.helpers.config_validation as cv
|
import homeassistant.helpers.config_validation as cv
|
||||||
|
|
||||||
REQUIREMENTS = ['python-join-api==0.0.2']
|
REQUIREMENTS = ['python-join-api==0.0.4']
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -61,4 +61,7 @@ class JoinNotificationService(BaseNotificationService):
|
||||||
device_id=self._device_id, device_ids=self._device_ids,
|
device_id=self._device_id, device_ids=self._device_ids,
|
||||||
device_names=self._device_names, text=message, title=title,
|
device_names=self._device_names, text=message, title=title,
|
||||||
icon=data.get('icon'), smallicon=data.get('smallicon'),
|
icon=data.get('icon'), smallicon=data.get('smallicon'),
|
||||||
|
image=data.get('image'), sound=data.get('sound'),
|
||||||
|
notification_id=data.get('notification_id'), url=data.get('url'),
|
||||||
|
tts=data.get('tts'), tts_language=data.get('tts_language'),
|
||||||
vibration=data.get('vibration'), api_key=self._api_key)
|
vibration=data.get('vibration'), api_key=self._api_key)
|
||||||
|
|
Loading…
Add table
Reference in a new issue