How do you get gatttool to work in home assistant?

Using app deamon. Pyscript or python scripts how can you make this work? I have 0 knowledge of this system btw

gatttool - char-write-cmd 0x0030 a500000800536f0e000310010212010aff01209a


Hello, Iā€™m in the same situation today, have you figured out how to do it? Thx !