Hya,
where do i find device_id, entity_id for a given device or entity?
Thx in advance.
Hya,
where do i find device_id, entity_id for a given device or entity?
Thx in advance.
under configuration, either devices or entities
The only way you can find this value is by looking in . storage/core. device_registry (or creating a Device Automation via the UI and examining the YAML it generates)
Many thanks! Helpful.
how to do this?
URL works for me! Thank you
Goto device page, in Automation div click plus button, choose “Do something when this device turns on or off” (or something like this). This will follow you to creating automation page with trigger on your device. Click three dots, choose “Edit in YAML” - you will see device_id and entity_id of this device.
The way you seem to find it is by clicking ‘MQQT INFO’
Seems to me, that the value in MQTT INFO is the IEEE address of the device.