Old Sensors from iOS

I have got old sensors from cell phones which are showing under states, how do I get rid of them?

Thanks for any help

Remove them from known_devices.yaml in your configuration directory.

Yeah I did that but the sensor._iphone_battery_state_2 stays, I have that and sensor._iphone_battery_state

Its under iOS.config file, if anyone wants to know.