ONVIF IrCutFilter auto

The ONVIF Integration automatically adds the On/Off Switch Entity, the third Option “Auto” as specified (https://www.onvif.org/specs/2206/ONVIF-Imaging-Service-Spec-v2206.pdf) would be a great addition.

I agree @putd It;s great to have this component but in my case this has altered the behaviour of my cams and they no longer automatically switch to day/night modes. Now I have to use HA to schedule the switchover as HA as I can no longer set the auto mode.
The code in switch.py currently sets the “IrCutFilter” to “ON” or “OFF” but there is a third option as you have pointed to, for this setting of “AUTO”. Not sure if the devs will see this but I’m hoping that somehow adding the code below to ONVIFSwitchEntityDescription in switch.py will do it.
turn_on_data={“IrCutFilter”: “AUTO”},
turn_off_data={“IrCutFilter”: “OFF”},

However it would need to be a seperate switch or the code changed to the three options (select?) I’m new to HA so I’m not sure yet where the python code is stored on the device (pi) yet.