本帖最后由 ptlzx 于 2018-3-5 18:00 编辑
Mon Mar 05 2018 12:37:34 GMT+0800 (CST) Error executing service <ServiceCall device_tracker.see: gps_accuracy=65, battery=39, dev_id=“ptlzx”的 iPhone, hostname=“ptlzx”的 iPhone, battery_status=Unplugged, gps=[25.434115336896113, 119.01457793293461]> Traceback (most recent call last): File "/usr/src/app/homeassistant/core.py", line 1010, in _event_to_service_call yield from service_handler.func(service_call) File "/usr/src/app/homeassistant/components/device_tracker/__init__.py", line 209, in async_see_service yield from tracker.async_see(**args) File "/usr/src/app/homeassistant/components/device_tracker/__init__.py", line 272, in async_see dev_id = cv.slug(str(dev_id).lower()) File "/usr/src/app/homeassistant/helpers/config_validation.py", line 299, in slug raise vol.Invalid('invalid slug {} (try {})'.format(value, slg)) voluptuous.error.Invalid: invalid slug “ptlzx”的 iphone (try _iphone)
|