#How to get device_id using requires_context?

1 messages · Page 1 of 1 (latest)

sick stump
#

In yaml to get area_id we use this construction.

requires_context:
 area:
   slot: true

Is there a syntax that will work similar to trigger.device_id used in GUI?