reptilex / tesla-style-solar-power-card

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

2024.6.0 appears to have broken visual alignment #173

Closed Avatar1976 closed 1 week ago

Avatar1976 commented 4 weeks ago

Hi, It would appear that 2024.6 has created some issue with alignment of text within the bubbles. My card config:

type: custom:tesla-style-solar-power-card
house_entity: sensor.powerwall_load_now
grid_entity: sensor.tesla_card_grid_consumption
battery_entity: sensor.tesla_card_battery_consumption
generation_entity: sensor.powerwall_solar_now
generation_to_grid_entity: sensor.tesla_card_grid_feed_in
generation_to_house_entity: sensor.tesla_card_solar_consumption
generation_to_battery_entity: sensor.tesla_card_battery_charging_inside
battery_to_house_entity: sensor.tesla_card_battery_consumption
grid_to_house_entity: sensor.tesla_card_grid_consumption
grid_to_battery_entity: sensor.tesla_card_battery_charging_outside
battery_to_grid_entity: sensor.tesla_card_battery_export
battery_extra_entity: sensor.useable_percentage_remaining
appliance1_icon: mdi:car-sports
appliance1_consumption_entity: sensor.tessytoo_charger_power
appliance1_extra_entity: sensor.tessytoo_battery
appliance2_icon: mdi:fruit-cherries
appliance2_consumption_entity: sensor.cherry_charger_power
appliance2_extra_entity: sensor.cherry_battery
hide_inactive_lines: 1

Screenshot_20240607_083033_Home Assistant

Avatar1976 commented 4 weeks ago

Page reloads or restarting the home assistant app doesn't seem to make any difference.

nigels0 commented 4 weeks ago

I'm finding that the card is a lot smaller than it used to be with this core update.

bpuga commented 3 weeks ago

the cards were considerably reduced, and the text is almost unreadable with the latest HA update. This visualization is used daily in my solar energy system... please correct.

reptilex commented 3 weeks ago

I updated today to test it and saw no issues. But it seems docker stable points to 2024.1.2 strangely enough. I will try to get to this this week. But I have little time. Sorry.

bpuga commented 3 weeks ago

Thank you.

Enviado desde Outlook para Androidhttps://aka.ms/AAb9ysg


From: reptilex @.> Sent: Sunday, June 9, 2024 2:25:21 PM To: reptilex/tesla-style-solar-power-card @.> Cc: bpuga @.>; Comment @.> Subject: Re: [reptilex/tesla-style-solar-power-card] 2024.6.0 appears to have broken visual alignment (Issue #173)

I updated today to test it and saw no issues. But it seems docker stable points to 2024.1.2 strangely enough. I will try to get to this this week. But I have little time. Sorry.

— Reply to this email directly, view it on GitHubhttps://github.com/reptilex/tesla-style-solar-power-card/issues/173#issuecomment-2156728391, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AI4BI3OLZRMH4A5DNQ7V4SLZGSMZDAVCNFSM6AAAAABI5SR2SCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWG4ZDQMZZGE. You are receiving this because you commented.Message ID: @.***>

guntherd commented 3 weeks ago

I can confirm! Since update to 2024.6 the custom:tesla-style-solar-power-card is no longer readable. See screenshot

image
reptilex commented 1 week ago

Update from hacs. Made a correction since HA cards seem not to have a width attribute anymore.

bpuga commented 1 week ago

Work perfect. thank you

El dom, 23 jun 2024 a las 15:48, reptilex @.***>) escribió:

Closed #173 https://github.com/reptilex/tesla-style-solar-power-card/issues/173 as completed.

— Reply to this email directly, view it on GitHub https://github.com/reptilex/tesla-style-solar-power-card/issues/173#event-13257972776, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI4BI3MR5D5TDCEZDLMD7CTZI4RALAVCNFSM6AAAAABI5SR2SCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGI2TOOJXGI3TONQ . You are receiving this because you commented.Message ID: <reptilex/tesla-style-solar-power-card/issue/173/issue_event/13257972776@ github.com>

bpuga commented 1 week ago

perfect work for me... updating from HACS

guntherd commented 1 week ago

I can confirm! Since update to 2024.6 the custom:tesla-style-solar-power-card is no longer readable. See screenshot image

Unfortunately no change for me after HACS based update, with this simple configuration:

type: custom:tesla-style-solar-power-card
name: Home Energy Flow
grid_to_house_entity: sensor.solar_grid_to_house_w
generation_to_grid_entity: sensor.solar_panel_to_grid_w
generation_to_battery_entity: sensor.solar_panel_to_battery_w
generation_to_house_entity: sensor.solar_panel_to_house_w
battery_to_house_entity: sensor.solar_battery_to_house_w
grid_to_battery_entity: sensor.solar_grid_to_battery_w
battery_extra_entity: sensor.solaredge_modbus_battery1_state_of_charge
bpuga commented 1 week ago

I selected "Download again". No work with "Update Information"; only with Redownload.

guntherd commented 1 week ago

@bpuga, many thanks for the hint and many thanks for the fix @reptilex. Now it works for me, too!