Skip to content

Handle attribute not being present on the weather entity#98

Open
avee87 wants to merge 1 commit into
bramkragten:masterfrom
avee87:optional-attributes
Open

Handle attribute not being present on the weather entity#98
avee87 wants to merge 1 commit into
bramkragten:masterfrom
avee87:optional-attributes

Conversation

@avee87

@avee87 avee87 commented Mar 5, 2021

Copy link
Copy Markdown

Sometimes weather entity doesn't have all attributes defined. Currently card will try to render them and will only show units which looks broken.
This diff essentially makes it treat all attributes as optional and doesn't show the missing ones.
Screenshot 2021-03-05 at 14 21 50
Screenshot 2021-03-05 at 14 21 05
Screenshot 2021-03-05 at 14 20 34

@regevbr

regevbr commented Nov 9, 2021

Copy link
Copy Markdown

Any news on this PR?

@avee87 avee87 force-pushed the optional-attributes branch from 202fe69 to 5acb76d Compare November 11, 2021 21:20
@avee87

avee87 commented Nov 11, 2021

Copy link
Copy Markdown
Author

Didn't realise this PR has gone stale. Rebased to the latest version.

@olekenneth

Copy link
Copy Markdown

I don't think the owner accepts PRs. Or at least doesn't answer or comment. I have one PR for a year now.

@JeanneD4RK

Copy link
Copy Markdown

Judging by the last commit date, this repo should be forked I guess..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants