Skip to content
This repository has been archived by the owner on Dec 29, 2024. It is now read-only.

Problem with Home Assistant 2024.3 #96

Open
Hoarerport opened this issue Feb 13, 2024 · 3 comments
Open

Problem with Home Assistant 2024.3 #96

Hoarerport opened this issue Feb 13, 2024 · 3 comments
Labels
wontfix This will not be worked on

Comments

@Hoarerport
Copy link

Hi,
this Problem is found after Installing weatherbit on Home Assistant 2024.3
"Logger: homeassistant.components.weather
Source: components/weather/init.py:387
Integration: Wetter (documentation, issues)

weatherbit::WeatherbitWeatherEntity implements the forecast property or sets self._attr_forecast in a subclass of WeatherEntity, this is deprecated and will be unsupported from Home Assistant 2024.3. "

Please update the Entitiy. Thanks
Pauker

@briis
Copy link
Owner

briis commented Feb 13, 2024

Please ser the README om the front page. Unless someone else wants to continue this integration it will close down in march.

@briis briis added the wontfix This will not be worked on label Feb 13, 2024
@Hoarerport
Copy link
Author

Ok, sorry unfortunately I missed your information. Thanks for your answer and your work. It's a shame that it doesn't continue. The solar radiation values in particular would have been interesting : translation with google ;-)
greetings Pauker

@greg520820
Copy link

greg520820 commented Feb 23, 2024

You can still pull weatherbit values by using a rest command. Example code below was added to configuration.yaml. You can set your desired scan interval in the rest command or set it very high, like the example, and use an automation to update the sensors . I'm updating every 30 minutes, but only between sunrise and dusk.

rest:
  - scan_interval: 86400
    resource: "https://api.weatherbit.io/v2.0/current?lat=xx.1127&lon=-xx.3911&key=xxxxxxxxxxxxx"
    sensor:
      - name: "AQI"
        value_template: "{{ value_json['data'][0]['aqi'] }}"

      - name: "Solar"
        value_template: "{{ value_json['data'][0]['solar_rad'] | round(0) }}"
        unit_of_measurement: "W/M2"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants