Controlling PWR and ACT LEDs on Raspberry Pi4 and Debian 11

How to enable PWR and ACT LEDs on raspberry 4 whit Debian 11 “Bullseye” operating system?
binary_sensor.rpi_power_status on home assistant not available

no solution?