Add threshold binary sensor to area

As best I can tell, it is impossible to add an unique_id to a YAML-created threshold binary sensor. This then makes it impossible to add the sensor to an area. Are there any clever workarounds or am I SOL?

SOL (for now).

Integrations are slowly being added to the UI.