And here is my config for the Tesla card if you wanted it:
- type: 'custom:tesla-style-solar-power-card'
style: |
ha-card {
--warning-color: var(--light-primary-color);
--info-color: var(--primary-color);
background-color: transparent;
background: transparent;
}
house_consumption_entity: sensor.envoy_current_energy_consumption
grid_consumption_entity: sensor.envoy_current_importing
grid_feed_in_entity: sensor.envoy_current_exporting
solar_consumption_entity: sensor.envoy_house_consumption
solar_yield_entity: sensor.envoy_current_energy_production
Card found here: Custom Solar Power Card the Tesla Style (almost)