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.15k stars 29.83k forks source link

Fronius Datalogger unit_of_measurement html escaping #82322

Closed Sunvibe closed 1 year ago

Sunvibe commented 1 year ago

The problem

After adding the fronius integration the device "Datalogger Web" will be discovered. The issue is the unit_of_measurement. This will be shown as an encoded unit image

To fix i modified this (see components/fronius/sensor.py at line 716): image

This results into: image

Hope this helps :) Thanks.

What version of Home Assistant Core has the issue?

2022.11.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

fronius

Link to integration documentation on our website

https://www.home-assistant.io/integrations/fronius/

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

home-assistant[bot] commented 1 year ago

Hey there @nielstron, @farmio, mind taking a look at this issue as it has been labeled with an integration (fronius) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `fronius` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Change the title of the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign fronius` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


fronius documentation fronius source (message by IssueLinks)