支付宝 | 微信 | |
---|---|---|
奶茶= |
shaonianzhentan / hf_weather Goto Github PK
View Code? Open in Web Editor NEW一个不知道改了几手的和风天气最简单的配置版本
一个不知道改了几手的和风天气最简单的配置版本
按照配置添加loveplace卡片发现提示No visual editor available for type "custom:hf_weather-card".
资源列表没有本项目相关的js,已经手动添加,也把自定义卡片的文件复制了一份到www文件下。但是还是不显示卡片。
比如温度,湿度
hf_weather广州无法添加
系统10.1
type: 'custom:hf_weather-card'
Custom element doesn't exist: hf_weather-card
显示错误
我在Home Assistant 2021.7.1中使用你的插件,但是只显示了部分信息。没有显示折线图,树状图等。我的网站是 asherlink.top,please help me,thanks !
之前一直试用良好,但是昨天开始启动出现错误,日志信息如下:
Logger: homeassistant.components.weather
Source: custom_components/hf_weather/weather.py:360
Integration: Weather (documentation, issues)
First occurred: 17:51:13 (1 occurrences)
Last logged: 17:51:13
Error while setting up hf_weather platform for weather
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/hf_weather/weather.py", line 85, in async_setup_entry
await data.async_update(dt_util.now())
File "/config/custom_components/hf_weather/weather.py", line 360, in async_update
with async_timeout.timeout(15, loop=self._hass.loop):
TypeError: timeout() got an unexpected keyword argument 'loop'
我的系统是Ubuntu 18.04.6 LTS、supervisor-2022.01.1、Home Assistant 2022.3.1。
麻烦您看一下,谢谢
custom_components.hf_weather.weather::HeFengWeather is overriding deprecated methods on an instance of WeatherEntity, this is not valid and will be unsupported from Home Assistant 2023.1. Please report it to the custom integration author.
由于业务发展策略的变更, 我们怀着万分遗憾的心情宣布万象将于公告发布之日起三十天后(截止到2023年3月18日)终止运营, 自公告发布之日起(2月16日),所有万象已上架产品将无法进行购买。
大佬这个怎么处理啊?
Home Assistant Core 2022.5.5,卡片报错,cannot read properties of undefined(reading 'slice')。劳烦更新一下
HA环境:
设备:N1
系统:openwrt_s905d_n1_R22.3.13_k5.4.184-flippy-70+o
安装方式:Docker安装的"homeassistant core"
HA版本:Home Assistant 2022.4.2
Error while setting up hf_weather platform for weather Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform await asyncio.shield(task) File "/config/custom_components/hf_weather/weather.py", line 85, in async_setup_entry await data.async_update(dt_util.now()) File "/config/custom_components/hf_weather/weather.py", line 413, in async_update [forec_cond[6], int(datemsg[6]["tmp"]["max"]), int(datemsg[6]["tmp"]["min"]), datemsg[6]["date"], datemsg[6]["pcpn"], datemsg[6]["pop"], datemsg[6]["cond"]["txt_d"]] IndexError: list index out of range
我在集成里面配置成功后,日志里出现了这样的错误,请问应该怎么修复呢?
Logger: homeassistant.components.weather
Source: custom_components/hf_weather/weather.py:99
Integration: Weather (documentation, issues)
First occurred: 11:34:55 (1 occurrences)
Last logged: 11:34:55
Error while setting up hf_weather platform for weather
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 250, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/hf_weather/weather.py", line 88, in async_setup_entry
async_add_entities([HeFengWeather(data, name)], True)
File "/config/custom_components/hf_weather/weather.py", line 99, in init
self._temperature_unit = None
AttributeError: can't set attribute '_temperature_unit'
Logger: homeassistant.components.weather
Source: components/weather/init.py:308
Integration: Weather (documentation, issues)
First occurred: 11:34:52 (2 occurrences)
Last logged: 11:34:54
custom_components.qweather.weather::QWeather is overriding deprecated methods on an instance of WeatherEntity, this is not valid and will be unsupported from Home Assistant 2023.1. Please report it to the custom component author.
custom_components.hf_weather.weather::HeFengWeather is overriding deprecated methods on an instance of WeatherEntity, this is not valid and will be unsupported from Home Assistant 2023.1. Please report it to the custom component author.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.