|
第一次用了和风天气,报错,后来我就放弃了,我觉得还可能是和风天气的api key问题
但是紧接着第二次申请了京东万象云的key,一样的报错,求大神指条明路:
报错内容:
Error loading /volume1/@appstore/homeassistant/var/config/configuration.yaml: while scanning for the next tokenfound character '\t' that cannot start any token in "/volume1/@appstore/homeassistant/var/config/configuration.yaml", line 64, column 1
(我不知道home-assistant.log文件在哪,如果这个信息不足,是否能告诉我日志文件的位置?)
京东万象云key在浏览器地址栏请求的结果:
{"code":"10000","charge":false,"msg":"查询成功","result":{"HeWeather5":[{"aqi":{"city":{"aqi":"75","qlty":"良","pm25":"55","pm10":"63","no2":"24","so2":"3","co":"0.6","o3":"92"}},"basic":{"city":"北京","cnty":"中国","id":"CN101010100","lat":"39.90498734","lon":"116.4052887","update":{"loc":"2020-03-31 20:06","utc":"2020-03-31 12:06"}},"daily_forecast":............*?"txt":"属弱紫外线辐射天气,无需特别防护。若长期在户外,建议涂擦SPF在8-12之间的防晒护肤品。"}}}]}}
先行谢过了!
|
|