Thank you for your answer, then all that remains is to rebuild the entire device. And what would it look like if I would connect another stabilizer in series, but the first would be 7818 and the second 7812. How would the first stabilizer behave if there was a device powered by 12 V, because with a 24 V power supply, the heating of the stabilizers would most likely spread over both. I am surprised by the heating because this stabilizer is supposed to pass up to 1.5 A current and the system is 0.1 A and the system heats up. Maybe instead of a stabilizer, use a zener diode with a resistor, what would it look like?