Hi,
thanks for the great work.
The old “notify.ios” Service is not working anymore.
I converted all notifies to the now mobile.app component. But it looks like, sending a camera pic/stream is not working. So I leave my camera notification the old style, but I get an error message. Whats the problem?
- id: '1514543372312'
alias: 'Notify: Garagentür vorne wurde geöffnet bei Abwesenheit'
trigger:
- entity_id: binary_sensor.door_window_sensor_158d0001aad1df
from: 'off'
platform: state
to: 'on'
condition:
- condition: state
entity_id: group.all_devices
state: not_home
action:
- data:
data:
attachment:
content-type: jpeg
entity_id: camera.kamera_einfahrt_onvif
push:
category: camera
message: Bewegung am Carport
service: notify.ios
Error Log:
Error while executing automation automation.notify_garagentur_vorne_wurde_geoffnet_bei_abwesenheit. Unknown error for call_service at pos 1:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/automation/__init__.py", line 380, in action
await script_obj.async_run(variables, context)
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/script.py", line 131, in async_run
await self._handle_action(action, variables, context)
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/script.py", line 210, in _handle_action
action, variables, context)
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/script.py", line 299, in _async_call_service
context=context
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/service.py", line 88, in async_call_from_config
domain, service_name, service_data, blocking=blocking, context=context)
File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 1138, in async_call
self._execute_service(handler, service_call))
File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 1160, in _execute_service
await handler.func(service_call)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/notify/__init__.py", line 117, in async_notify_message
await notify_service.async_send_message(**kwargs)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/ios/notify.py", line 103, in send_message
log_rate_limits(self.hass, target, req.json())
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/ios/notify.py", line 23, in log_rate_limits
rate_limits = resp["rateLimits"]
KeyError: 'rateLimits'