Changing configuration of devices via script or automation

Whilst setting up bluetooth on Pi4 for Xiaomi BLE and Switchbot meter integrations i found that my CPU usage tripled when using active scanning vs passive - since i only want active for the switchbot under certain conditions can configuration options like this be toggled via script or automation?

Im using Home assistant on docker with an external usb bluetooth dongle

1 Like

Hello,

I have the same issue and same request to do it ! :wink: