reptilex / tesla-style-solar-power-card

Home assistant power card mimicking the one tesla provides for the powerwall app.
211 stars 59 forks source link

Feature Request - Graph size #122

Open littlbee opened 2 years ago

littlbee commented 2 years ago

Would be great if it could be possible to give a scale factor for the whole graph. I'm using a 7 inch tablet with Fully Kiosk and would like this card included, but it's a bit roomy right now.

reptilex commented 1 year ago

Vertical/horizontal stacking does not work with my card, right?

tomcoleman commented 1 year ago

both vertical-stack and horizontal-stack doesnt change anything for me

      #################################################
      #                                               #
      #                     SOLAR                     #
      #                                               #
      #################################################
      - type: vertical-stack
        title: Solar & Power
        view_layout:
          grid-area: solar
        columns: 1
        cards:

          - type: 'custom:tesla-style-solar-power-card'

            generation_icon: 'mdi:solar-power'
            house_without_appliances_values: 1
            show_w_not_kw: 1
            #hide_inactive_lines: 1
            #change_house_bubble_color_with_flow: 1
            show_gap: true

###Grid Power###
            grid_to_house_entity: sensor.solax_apf_grid2house
            grid_to_battery_entity: sensor.solax_apf_grid2batt
###Solar Power###
            generation_to_grid_entity: sensor.solax_apf_solar2grid
            generation_to_battery_entity: sensor.solax_apf_solar2batt
            generation_to_house_entity: sensor.solax_apf_solar2house

###Battery Power###
            battery_to_house_entity: sensor.solax_apf_batt2house
            battery_to_grid_entity: sensor.solax_apf_batt2grid
            grid_entity: sensor.solax_measured_power
            house_entity: sensor.solax_apf_real_house_load
tomcoleman commented 1 year ago

text scales off the bubble

image

and then actual whole card scales off the page

2022-07-16 07 09 05

littlbee commented 1 year ago

Any idea whether this could be added as enhancement ?