home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.82k stars 30.08k forks source link

I only get one attribute: Home - Daily #75577

Closed GHSTUDIO1 closed 2 years ago

GHSTUDIO1 commented 2 years ago

The problem

Is this the only attribute one gets with the free subscription? If so, the documentation should indicate that you need a subscription. Yes, it's now working again...but not exactly useful if that's all I get with the free API.

What version of Home Assistant Core has the issue?

2022.7.6

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

tomorrow.io

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

probot-home-assistant[bot] commented 2 years ago

Hey there @raman325, @lymanepp, mind taking a look at this issue as it has been labeled with an integration (tomorrowio) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)


tomorrowio documentation tomorrowio source (message by IssueLinks)

lymanepp commented 2 years ago

You need to enable the entities you wish to add.

GHSTUDIO1 commented 2 years ago

As of today (perhaps the integration addition 7 hours ago changes things)

The documentation is far from clear...and honestly, going to tomorrow.io or finding you API key is not clear. (puns not intended).

After much trial, gnawing of teeth and a couple of bourbons.....I found that with a free subscription you get one state set in HA:

Weather.Tomorrow.io - Home - Daily                           and all of the fields are found as attributes.

temperature: 92 temperature_unit: °F humidity: 53 pressure: 30.04 pressure_unit: inHg wind_bearing: 171 wind_speed: 7.56 wind_speed_unit: mph visibility: 9.94 visibility_unit: mi precipitation_unit: in forecast: - datetime: '2022-07-22T10:00:00+00:00' condition: cloudy precipitation_probability: 10 wind_bearing: 131.21 temperature: 92 templow: 76 wind_speed: 18.57 precipitation: 0

plus a 13 forecast: (2 days shown)

forecast:

I have found no way to add/delete entities in the add on....you get what you get. I'm sure if you dig into the code itself there's a way, but I don't even know where it's stored (proxmox, HA supervised).

If you pay for a subscription, I suspect you get more of the entities automatically, although there are far more than 28 possibilities....

clintkev251 commented 2 years ago

That's not true, you get 3 different weather entities and a bunch of different sensors by default, but you need to enable the ones that you actually want to use. This includes on the free plan. (also just semantics, but its an integration, not an addon)

image

lymanepp commented 2 years ago

Recently created free API keys only support the Core data layer. You can see which fields are available in the Core data layer at that link and what the other layers provide.

GHSTUDIO1 commented 2 years ago

I don't get three entities....I guess new API's just get one....core

lymanepp commented 2 years ago

I don't get three entities....I guess new API's just get one....core

The Core data layer includes temperature, apparent temperature, humidity, dew point, wind speed, wind direction, wind gusts, and a number of other fields.

Follow these steps to enable more fields:

1) Go to Settings | Devices & Services 2) Click on "28 entities" for the Tomorrow.io integration image 3) Click the checkbox for the sensors that you want to enable 4) Click "ENABLE SELECTED" at the top of the page

GHSTUDIO1 commented 2 years ago

Documentation for tomorrow.io is a bit behind the code.....

When you install the tomorrow.io integration, you will see one service and 28 entities with only one active (home-daily).. If you click on the 28 entities, you will see a list of all of the entities you are entitled to....but they are all disabled. Here's the undocumented trick:

click on the entity you want (not the box on the left...just on the name of the entity). Go to advanced settings and you will be able to change that entities status to enabled. The sensors will be added and can be seen in developer...states.

lymanepp commented 2 years ago

This is open source. Please feel free to submit a pull request for the documentation.

raman325 commented 2 years ago

This is also not integration specific so it doesn't belong in the integration documentation. Disabled entities are a pattern used across many integrations.