Help turning a HX711 into a binary sensor

Thank you for reading this and i hope you can help me
I want to turn a HX711 into a binary sensor
If the load is above 20kg it turns on and when it gets below 20kg the senor turns off. i have been looking at the esphome docs but i can’t see the tree inside the forest. i want to do this on the node it self and not inside HA. i hope you can help me

Did you try the Template Binary Sensor?

Thanks this is the tree i’m looking for …
its it possible to let the node only send the binary. Now its sending the weight to.

Yes, add:

internal: true

in the weight sensor configuration.

See https://esphome.io/components/sensor/index.html