Skip to content
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

feat: initial release #2

Merged
merged 29 commits into from
Apr 27, 2022
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
6f2b228
got most of the things I want working to work
ulic75 Apr 25, 2022
5b59ef2
set line paths back to original settings
ulic75 Apr 25, 2022
4698665
remove carbon stuffs
ulic75 Apr 25, 2022
942fcce
create some reusable code and add battery to home
ulic75 Apr 25, 2022
a9f7bc5
simplify naming and create reusable function for getting a number to …
ulic75 Apr 25, 2022
7eef86e
set animation duration to 3s until I can find a nice calculation
ulic75 Apr 26, 2022
ed09704
add grid to home circle
ulic75 Apr 26, 2022
3b787cd
do actual rounding instead of just formating
ulic75 Apr 26, 2022
ce4058a
ensure hass exists
ulic75 Apr 26, 2022
7cf57b8
huge refactor to go to from 7 entities to 4
ulic75 Apr 26, 2022
ff816a0
a decent duration calc
ulic75 Apr 26, 2022
d22d7d5
always show in/out values on battery and grid
ulic75 Apr 26, 2022
e03d18c
implement home circumference border
ulic75 Apr 26, 2022
79611d2
remove battery to grid line
ulic75 Apr 26, 2022
b64b2a1
circle rate tweaks
ulic75 Apr 27, 2022
227d366
move each line/circle flow into it's own svg
ulic75 Apr 27, 2022
6676365
centralize duration calculations
ulic75 Apr 27, 2022
007462d
fix type in flow id
ulic75 Apr 27, 2022
718db67
smooth out duration changes
ulic75 Apr 27, 2022
2d2daa1
add some workflows and hacs stuff
ulic75 Apr 27, 2022
6c3a691
remove hacs integration validation
ulic75 Apr 27, 2022
06b6c98
fix yaml typo
ulic75 Apr 27, 2022
40e56d0
Add build script
ulic75 Apr 27, 2022
067c798
add readme
ulic75 Apr 27, 2022
fae4939
add description and keywords
ulic75 Apr 27, 2022
785db02
update hacs file
ulic75 Apr 27, 2022
84a70d9
add more scripts
ulic75 Apr 27, 2022
2d2cb77
add semantic-release
ulic75 Apr 27, 2022
9aa6633
Update README.md
ulic75 Apr 27, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
circle rate tweaks
  • Loading branch information
ulic75 committed Apr 27, 2022
commit b64b2a193ead42ee13fcabae9f169e25f01af77b
4 changes: 2 additions & 2 deletions src/realtime-energy-distribution-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import { RealtimeEnergyDistributionCardConfig } from "./realtime-energy-distribu
import { roundValue } from "./utils.js";

const CIRCLE_CIRCUMFERENCE = 238.76104;
const SLOWEST_CIRCLE_RATE = 4;
const FASTEST_CIRCLE_RATE = 0.5;
const SLOWEST_CIRCLE_RATE = 6;
const FASTEST_CIRCLE_RATE = 0.75;

@customElement("realtime-energy-distribution-card")
export class RealtimeEnergyDistributionCard extends LitElement {
Expand Down