Closed daha76 closed 4 years ago
I have managed to get it working with 0.107.3 as the issue seems with the new HA integration for AirVisual.
I have deleted all my old config for AirVisual from configuration.yaml, restarted HA, deleted the Configured Integration of AirVitual form the Configuration>Integrations page in the HA User Interface then setup again AirVisual by entering the API Key using Integrations User Interface page.
Check the Sensors names as it might have been changed and edit/update the air-visual-card accordingly.
Hello I have a problem with the air visual card plugin. I have the HA 0.107.4 version, I have added air visual card in the integration and the API key in config.yaml. When I add a plugin on the main screen I have this error:
Hello I have a problem with the air visual card plugin. I have the HA 0.107.4 version, I have added air visual card in the integration and the API key in config.yaml. When I add a plugin on the main screen I have this error:
Setting /integrating Airvisual sensors using configuration.yaml didn't work for me as in previous version 0.106.x although I followed the new setup guide for 107.x
Doing the setup in the User Interface and Inserting the API key directly using the integrations page user interface worked for me as the steps I mentioned.
Air-Visual-Card is downloaded through HACS.
Make sure the sensors name are correct in your case and it has values check in Developer-tools>States, The following is card setting:
air_pollution_level: sensor.u_s_air_pollution_level
air_quality_index: sensor.u_s_air_quality_index
city: Your City Name
icons: 'https://cdn.jsdelivr.net/gh/dnguyen800/air-visual-card@0.0.4/dist'
main_pollutant: sensor.u_s_main_pollutant
type: 'custom:air-visual-card'
Reinstalled the add-on without any changes, all sensors are added correctly. I am only thinking about the message that coustom element not found. The add-on is installed in HACS, it is also integrated and reporting data correctly.
I deleted all air visual integrations and entities, added only this in configuration.yalm:
airvisual: api_key: YOUR_AIRVISUAL_API_KEY
restarted server and added air visual card again and all works as before.
I think that this issue can be closed.
@daha76 can you show your air visual card script as it looks on the lovelace card?
air_pollution_level: sensor.u_s_air_pollution_level air_quality_index: sensor.u_s_air_quality_index city: Kosice country: Slovakia icons: 'https://cdn.jsdelivr.net/gh/dnguyen800/air-visual-card@0.0.4/dist' main_pollutant: u_s_main_pollutant temp: weather.domov type: 'custom:air-visual-card'
unfortunately it doesn't work for me, I have the message: Error: Custom element not found: air-visual-card
Seem like you have to reinstall air-visual-card
problem solved, i had not updated HACS. Everything works.
Hello,
for some reason this card can't get data after I updated to 0.107.1. When I reverted back to 0.106.6 all is ok and works normally. Seems like 0.107.1 is quite buggy, because some other integrations also stopped working properly, like denonavr, asuswrt, Mibox, and maybe some others.