Giter Club home page Giter Club logo

Comments (11)

michaeldavie avatar michaeldavie commented on August 22, 2024

It's likely that the station that's being used just doesn't have values for those sensors. If you open one of the sensors with data, what are the values for the location and station attributes?

from env_canada.

ikifar2012 avatar ikifar2012 commented on August 22, 2024

Toronto Buttonville Municipal Airport

from env_canada.

michaeldavie avatar michaeldavie commented on August 22, 2024

That seems consistent with what the page for that station is showing: https://weather.gc.ca/city/pages/on-85_metric_e.html. It was likely automatically selected as the closest to your location.

It looks like Pickering or Toronto might be your best bets for more complete data. You can override the automatic station selection as described in the documentation at https://www.home-assistant.io/integrations/environment_canada/. You could also have two copies of the integration running with different stations, if you wanted to use some data from each.

Let me know if you have any trouble.

from env_canada.

ikifar2012 avatar ikifar2012 commented on August 22, 2024

How do I have multiple copies of the integration?

from env_canada.

michaeldavie avatar michaeldavie commented on August 22, 2024

Like this, the first one will be the closest (Buttonville), then the second one will be Toronto.

sensor:
  - platform: environment_canada
  - platform: environment_canada
    station: ON/s0000458

from env_canada.

ikifar2012 avatar ikifar2012 commented on August 22, 2024

It seems now after adding the second sensor to my config my original sensors have gone unavailable
image

from env_canada.

ikifar2012 avatar ikifar2012 commented on August 22, 2024

Ok after updating to HA version 0.111.0 both sensor configs have loaded however some entities are still unavailable, is this expected? Thanks for all your help
image

from env_canada.

michaeldavie avatar michaeldavie commented on August 22, 2024

This might be due to the old entities existing in the entity registry...maybe try disabling the ones you don't want.

from env_canada.

ikifar2012 avatar ikifar2012 commented on August 22, 2024

it looks like the documentation is out of date because those were the entity id's listed however looking at my entity registry it seems the entity id's have been changed, I may make a PR to the docs if that is ok with you as it seems:

sensor.pop is now sensor.chance_of_percip
sensor.text_summary is now sensor.forecast
sensor.precip_yesterday is now sensor.precipitation_yesterday
sensor.wind_dir is now sensor.wind_direction
sensor.low_temp is now sensor.low_temperature
sensor.dewpoint is now sensor.dew_point
and sensor.high_temp is now sensor.high_temperature

from env_canada.

ikifar2012 avatar ikifar2012 commented on August 22, 2024

Draft for PR:
ikifar2012/home-assistant.io@2e411c3

from env_canada.

ikifar2012 avatar ikifar2012 commented on August 22, 2024

I made the requested changes, if you have any more suggestions let me know:
ikifar2012/home-assistant.io@8b60cd5

from env_canada.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.