slipx06 / Sunsynk-Home-Assistant-Dash

Home Assistant Dashboard to display Inverter information. ESPHome configuration to collect inverter sensor data via modbus
66 stars 18 forks source link

Resizable Card #8

Closed iendicott closed 4 months ago

iendicott commented 4 months ago

Hi,

Not sure if this has been requested before, but is there any chance you can make the SunSynk solar card resizeable please? Also keep up the great work, this card is a god send. 👍

Regards Ivan

slipx06 commented 4 months ago

Hi. The card is resizable with some limitation. You have to switch to the code editor and add the following attributes

card_height: | Optional | 396px | Only used when panel_mode: false. Sets the card height in pixels. Specify the value i.e. 400px or provide a sensor i.e. input.numer_height
card_width: | Optional | 100% | Only used when panel_mode: true. Sets the card width in pixels or percentage 400px or 80%. For adjustments when using the Panel(1 card) view types or grid layouts
panel_mode: | Optional | false | Toggles panel mode setting card height to 100%. For use with Panel(1 card) view types or grid layouts
iendicott commented 4 months ago

Thanks Slipx06 perfect. Keep up the good work. 👍