Get Zigbee ieee id from an entity reference

Hi,
I am trying to create a Blueprint that sets some cluster attributes of a Hue SML001 occupancy sensor when Home Assistant starts up e.g. Occupied to Unoccupied delay and Sensitivity.
In the blueprint I request the entity id of the sensor e.g. binary_sensor.occupancy_hall_ceiling and I want to be able to get the Zigbee ieee id of the sensor from this information.
Does anyone know how I can do this?
I don’t want to have to enter the ieee id as part of the variables because I should be able to determine it from the entity id, but cannot figure out how.

1 Like