用楼主上一版的配置没问题,这一版的弄了一晚都是错误,log如下,楼主看下?
2019-02-21 23:16:23 WARNING (MainThread) [homeassistant.loader] You are using a custom component for lede.device_tracker which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant. 2019-02-21 23:16:23 ERROR (MainThread) [homeassistant.config] Invalid config for [device_tracker.lede]: required key not provided @ data['latitude']. Got None required key not provided @ data['longitude']. Got None. (See /config/configuration.yaml, line 62). Please check the docs at https://home-assistant.io/components/device_tracker.lede/
不配置 latitude: 和 longitude: 就会出现错误,无论整行注释或者数值留空都出错。log如下:
Invalid config for [device_tracker.lede]: expected float for dictionary value @ data['latitude']. Got None expected float for dictionary value @ data['longitude']. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/device_tracker.lede/