Move Torque integration setup to the front-end / make data persist over reboot

I’ve just set up the Torque integration. It works great, but I have to add the integration via YAML. All it needs setup-wise is the email address you set up in Torque, so it should very easy to migrate to the front-end. I’ve pawed through the developer docs, but I’ve never contributed code to HA before, so it’d take me some time to read over the docs and get something going.

Also, the data doesn’t persist across reboots. This is a known issue but that issue was marked as stale. On top of this, the sensors it creates don’t get grouped by integration, so if I pick 20 PIDs in Torque, I get 20 sensors in HA, and the only way to find them all is by looking for sensors that start with vehicle_ (which don’t exist when you reboot), instead of just filtering by integration

I know only about 100 people use the integration, but it definitely could use a spitshine.

I would also like to see this!

Right now, I am using junalmeida/homeassistant-torque: Torque Logger integration for Home Assistant with persistent Sensors (github.com)

But it has it’s own set of problems.

1 Like

Hi, are you still using it?
What problems did you find?

Any chance anybody found a working torque integration?
I have tried about 4 different ones and none of them worked.
The official one from home assistant works really well except the entities don’t survive home assistant restart. According to @frenck this is not a bug but rather a missing feature.
We would love someone to work on this feature please.