Conversion of SensorStateValue sensor to Plugin.