Xiaomi aqara relay 2 channel

Hello! the relay is defined as light domain. can I change to a switch domain?
xiaomi.aqara.relay_c2acn01.Relay
lumi.relay.c2acn01

I will answer myself
in configuration.yaml
zha:
device_config:
84:71:27:ff:fe:93:17:24-1: # format: {ieee}-{endpoint_id}
type: “switch” # corrected device type

1 Like