Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sensor card error when only one state history entry. #1750

Merged
merged 1 commit into from
Oct 9, 2018

Conversation

jeradM
Copy link
Member

@jeradM jeradM commented Oct 9, 2018

Fixes console error/missing graph if state history only has one entry (sensor that hasn't yet had a state change). This just copies the first value so that we at least get a straight line graph

@ghost ghost assigned jeradM Oct 9, 2018
@ghost ghost added the in progress label Oct 9, 2018
@balloob balloob merged commit 90c3350 into home-assistant:master Oct 9, 2018
@ghost ghost removed the in progress label Oct 9, 2018
zsarnett pushed a commit to zsarnett/home-assistant-polymer that referenced this pull request Oct 13, 2018
zsarnett pushed a commit to zsarnett/home-assistant-polymer that referenced this pull request Oct 13, 2018
zsarnett pushed a commit to zsarnett/home-assistant-polymer that referenced this pull request Oct 14, 2018
@github-actions github-actions bot locked and limited conversation to collaborators Jul 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants