-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graphic looks strange #162
Comments
Note that https://github.com/thomasloven/lovelace-card-mod needs to be installed for that, for example via HACS. I did that, but I am unsure where I should place that snippet. I tried both at the end and in the view, but neither of these worked. For reference: views:
- title: Home
type: custom:tesla-style-solar-power-card
name: Stromfluss
grid_to_house_entity: sensor.flow_grid_to_house
grid_to_battery_entity: sensor.flow_grid_to_battery
...
appliance1_extra_entity: switch.keller_plug
card_mod:
style: |
ha-card {
zoom: 1.5 !important;
}
title: Stromfluss |
@mkanet: as you had this working, can you clarify where to put that |
This is what it would look like: type: custom:tesla-style-solar-power-card
grid_entity: sensor.apf_grid_entity
grid_extra_entity: sensor.pge_electric_cost_to_date
house_entity: sensor.apf_real_house_load
generation_entity: sensor.apf_generation_entity
battery_entity: sensor.apf_battery_entity
grid_to_house_entity: sensor.apf_grid2house
grid_to_battery_entity: sensor.apf_grid2batt
generation_to_grid_entity: sensor.apf_solar2grid
generation_to_battery_entity: sensor.apf_solar2batt
generation_to_house_entity: sensor.apf_solar2house
battery_to_house_entity: sensor.apf_batt2house
battery_to_grid_entity: sensor.apf_batt2grid
battery_extra_entity: sensor.powerwall_charge
change_house_bubble_color_with_flow: 1
hide_inactive_lines: 1
speed_factor: 0.05
show_gap: true
card_mod:
style: |
ha-card {
zoom: 1.5 !important;
} |
Solved: when the zoom factor is too high, some other mechanism kicks in and scales back. With |
There must do something with icons size and text position and size, because if it is a good view in web, there is worng in mobile, and vice-versa. |
@valimaties you might consider switching to https://github.com/flixlix/power-flow-card-plus it doesn't have this weird display issue. |
Hi,
I successfully configured the input sources for the dashboard and the values match my solaredge app.
Now when I look at the card, it somehow looks off. Is there a way to fix this?
Thanks a lot for the great work!
The text was updated successfully, but these errors were encountered: