Tesla's charge on solar mode keeps a car charging while the house has surplus solar power and pauses when the surplus runs out. Home Assistant's Teslemetry integration can now switch it on and off. The change by Brett Adams (Bre77), reviewed by silamon and frenck, was merged into the development branch on 24 October 2026 together with its documentation, so it should come with Home Assistant 2026.11.

Two new entities, behind a Labs switch

The controls are a Labs preview feature, so nothing appears until you turn on Charge on solar under Settings > System > Labs. Each vehicle then gets two entities, provided your Teslemetry account has granted the Vehicle commands scope:

  • a Charge on solar switch that turns the mode on or off;
  • a Charge on solar lower limit number, the battery level the car keeps charging to even without solar, so it does not sit too low.

There is no separate upper limit. Charge on solar uses the car's existing Charge limit entity as the upper bound, so the lower limit can never be set above it. If you lower the charge limit below the lower limit, the lower limit follows it down on the next update from the car.

If you turn off the Labs feature, or the Vehicle commands scope is no longer granted, both entities are removed until they become available again.

The state is assumed, not read back

Tesla's API does not currently report the charge on solar status from the car. Both entities therefore show the state of the last command you sent, not confirmed feedback from the vehicle. Keep that in mind if you change the setting in the Tesla app as well: Home Assistant will not see it.

To make this workable, the integration keeps the on/off state, the lower limit and the last known charge limit in a store for each config entry, which is deleted together with the entry. Thanks to that, one of the two entities can stay disabled without the other sending an outdated limit or silently skipping the command.

Why this is useful

As a switch and a number entity, the mode can now be part of automations. For example, an automation could turn charge on solar on for weekdays when the car sits at home and off before a long trip, or raise the lower limit when the forecast is poor.