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
69.71k stars 28.87k forks source link

Change unit of measurement in The Things Network sensors and TTN device tracker compatibility #120320

Open Emacee opened 1 week ago

Emacee commented 1 week ago

The problem

The sensors provided by this integration cannot be adjusted in the UI and are therfore incorrectly displayed. I would like to change the unit of measurent of these sensor (e.g. temperature in Celsius in a graph rather than a decimal number in a history bar). Additionally it would be nice to integrate the device_tracker as well; one of the sensors provided by this integration includes the latitude and longitude of the device. I'm struggling to get this working over MQTT as JSON template but I would make sense to take this straight from the TTN API rather than using MQTT as well.

What version of Home Assistant Core has the issue?

core-2024.6.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

thethingsnetwork

Link to integration documentation on our website

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

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 week ago

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

Code owner commands Code owners of `thethingsnetwork` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign thethingsnetwork` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


thethingsnetwork documentation thethingsnetwork source (message by IssueLinks)

angelnu commented 1 week ago

Let us split this into 2 feature requests:

For the last one this was already reported: https://github.com/home-assistant/core/issues/120308