Skip to content

Fix history showing extra points.#350

Merged
balloob merged 1 commit into
home-assistant:masterfrom
andrey-git:history
Jul 24, 2017
Merged

Fix history showing extra points.#350
balloob merged 1 commit into
home-assistant:masterfrom
andrey-git:history

Conversation

@andrey-git
Copy link
Copy Markdown
Contributor

@andrey-git andrey-git commented Jul 23, 2017

Fix history showing extra points.

History data used to duplicate the last point (sometimes beyond "now")
In addition both timeline and line added extra last point.

This PR removes the extra data point and fixes timeline and line not to log points after "now" (could be due to client-server time mismatch)

@mention-bot
Copy link
Copy Markdown

@andrey-git, thanks for your PR! By analyzing the history of the files in this pull request, we identified @armills, @balloob and @turbokongen to be potential reviewers.

prevValues = values;
}

if (domain === 'thermostat') {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove this? This means that for thermostats we are no longer plotting target and current temperatures

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh gosh, I see now that the code was duplicated.

@balloob balloob merged commit 2ea5cbc into home-assistant:master Jul 24, 2017
@andrey-git andrey-git deleted the history branch July 24, 2017 15:23
tkdrob pushed a commit to tkdrob/frontend that referenced this pull request Apr 20, 2021
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 8, 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.

4 participants