monitor icon indicating copy to clipboard operation
monitor copied to clipboard

Extra trailing space added to device "name" when comment used on "known_static_addresses"

Open reefland opened this issue 4 years ago • 0 comments

I had the following defined in known_static_addresses file:

aa:bb:cc:dd:ee:ff iphone_8_bt  # daughters phone

In watching topics from within Home Assistant, I noticed an extra space was in the name:

    "name": "iphone_8_bt ",
    "manufacturer": "Apple Inc",
    "type": "KNOWN_MAC",
    "retained": "false",

I removed the comment from known_static_addresses file and the extra space went away.

reefland avatar Dec 05 '20 21:12 reefland