RE: Ryobi sensor help
Depends on what ignition it is equipped with. The condition you describe is what a failed hall sensor will do when the switch is turned on. Sensors are rather easy to come by but you need to determine what system it is associated with. The most common is the type used with CH and RC Exl ignitions, but there are others as well. Some are not hall type but instead use a puck up coil.
The CH type is quite inexpensive so might contemplate giving the,m a call and describing what you have.