Modify device type in ZHA of Inovelli Blue using configuation.yaml

I have an Inovelli Blue switch that I’d like to change the device type of. Right now I’m using a helper, but I was wondering if it was possible to use the Home Assistant configuration.yamlto do this. I came across this in the Home Assistant docs: Zigbee Home Automation - Home Assistant

However, upon trying this, I wasn’t able to get it to work.

It would be helpful if you posted what you did try. Otherwise we’re just guessing.

zha:
   device_config:
     94:DE:B8:FF:FE:31:51:79-1:
       type: "fan"
     94:DE:B8:FF:FE:31:51:79-2:
       type: "fan"
     94:DE:B8:FF:FE:31:51:79-242:
       type: "fan"