Tasmota Plug - Auto Discovery - Sensor Vs Switch Or Light

Which firmware version? You should not use set option 19 anymore - should use the tasmota integration instead