I use this switch in Home Assistant but it does not recognize it’s measurment capabilities, so I can just use the ON/OFF functionality.
On git: