Alguém que usa o Icloud (ou icloud2) poderia me dar uma ajuda?
Configurei o configuration.yaml
- platform: icloud2
username: private
password: private
account_name: private
filter_devices: 'osmartjr'
e o known_devices.yaml
osmartjr:
hide_if_away: false
icon:
mac: XX:XX:XX:XX:XX:XX
name: JR
picture:
track: true
vendor: Apple, Inc.
e o HA me devolve o seguinte erro:
Error executing service <ServiceCall device_tracker.see: gps_accuracy=65, battery=75, dev_id=osmartjr , hostname=Osmartjr, battery_status=Unplugged, gps=[-23.582525893284817, -46.70213868121862]>
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/core.py", line 1002, in _event_to_service_call
await service_handler.func(service_call)
File "/usr/lib/python3.6/site-packages/homeassistant/components/device_tracker/__init__.py", line 225, in async_see_service
yield from tracker.async_see(**data)
File "/usr/lib/python3.6/site-packages/homeassistant/components/device_tracker/__init__.py", line 292, in async_see
dev_id = cv.slug(str(dev_id).lower())
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/config_validation.py", line 323, in slug
raise vol.Invalid('invalid slug {} (try {})'.format(value, slg))
voluptuous.error.Invalid: invalid slug osmartjr (try osmartjr_)
alguem tem alguma dica de como arrumar isso?