Closed Ernst79 closed 1 year ago
Base: 75.39% // Head: 75.39% // No change to project coverage :thumbsup:
Coverage data is based on head (
849deab
) compared to base (2ce1e87
). Patch coverage: 100.00% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
I ran into the "problem" that the current implementation for multiple measurements of the same type (e.g. 3 temperatures), will result in three devices (1, 2 and 3) in Home Assistant. This is caused by the fact that I had defined one device_id per temperature. However, this is more meant for thinks like an indoor and outdoor temperature device that report via the indoor device.
I now have changed it such that we always have one device (
device_id = None
). Each measurement will get a postfix, in case there are more than one of that type. E.g. temperature_1, temperature_2 etc, with name Temperature 1, Temperature 2, etc.