Skip to content

Fix sensor card svg <path> error & template literals#1993

Merged
balloob merged 1 commit intohome-assistant:devfrom
kalkih:sensor-path-fix
Nov 5, 2018
Merged

Fix sensor card svg <path> error & template literals#1993
balloob merged 1 commit intohome-assistant:devfrom
kalkih:sensor-path-fix

Conversation

@kalkih
Copy link
Copy Markdown
Contributor

@kalkih kalkih commented Nov 5, 2018

Fixes: Error: <path> attribute d: Expected number that would sometimes occurred.
Was caused by a dot in the svg path string (should have been a comma).

Also cleaned up the _getPath() function, switched to template literals.

@ghost ghost added the in progress label Nov 5, 2018
@balloob balloob merged commit 856ef34 into home-assistant:dev Nov 5, 2018
@ghost ghost removed the in progress label Nov 5, 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.

3 participants