logo elektroda
logo elektroda
X
logo elektroda

BL602 in HA - how do I associate the sensor from the configuration.yaml file with the device?

przemsi_ele 459 0
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 20840774
    przemsi_ele
    Level 11  
    Maybe someone will know.

    I have a BL602 in HA known after mqtt, after switching on in BL602 HA Discovery , two entities showed up in HA , switch and rssi.

    In configuration.yaml for this device I made the sensor ip, in entities is visible, but not on the card of this device.

    I am looking for a way to link the sensor from file configuration.yaml file with an existing device which has been automatically added to HA, so that the IP address is visible in HA on the tab of this device in Diagnostics.

    I've combined something like this from the HA mqtt documentation but it doesn't do anything:
    unique_id: "abcd"
          device: 
            connections: [["mac", "24:94:94:**:**:**"]]
            name: "obl_Bialy"



    two entities of the same device look like this:
    
    sensor.none_ip_address
    light.obl_bialy_1
    



    these none I don't know how to figure out ??
  • ADVERTISEMENT
ADVERTISEMENT