4748 Commits

Author SHA1 Message Date
Bram Kragten
7fcea16c6b
Increase font size tooltips + position then static (#9713) 2021-08-04 09:19:38 -07:00
Bram Kragten
028b799d2c
Default energy collection key should not be defined (#9710) 2021-08-04 08:25:42 -07:00
Bram Kragten
3485296e23
Fix typo (#9707) 2021-08-04 12:36:15 +02:00
Paulus Schoutsen
1f9c45b11c
Add energy distribution card to arsaboo demo (#9702)
* Add energy distribution card to arsaboo demo

* Make link dashboard conform
2021-08-03 22:09:08 +00:00
Bram Kragten
5ba24211e2
Add messages when no data (#9700)
* Add messages when no data

* 2 hours

* comment
2021-08-03 23:22:32 +02:00
Bram Kragten
d699647418
Fix calculate sum growth + refreshing too often (#9699) 2021-08-03 23:19:26 +02:00
Bram Kragten
b246502cb6
Energy demo (#9698)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-08-03 09:50:31 -07:00
Bram Kragten
9b33ead8aa
Final energy tweaks (#9694) 2021-08-03 08:54:10 -07:00
Milan Meulemans
32e8c1dc6d
Remove energy currency translation (#9695) 2021-08-03 11:00:21 +00:00
Bram Kragten
1c097a669d
Add currency to onboarding (#9691) 2021-08-02 21:02:57 +00:00
Bram Kragten
4e1497c5da
Change layout of period selector (#9688) 2021-08-02 13:57:59 -07:00
Bram Kragten
49d426675f
Masonry (#9689) 2021-08-02 13:57:39 -07:00
Paulus Schoutsen
4ee24b0845 Add description to statistic picker in add device dialog 2021-08-02 10:18:59 -07:00
Joakim Sørensen
50bd5ee8f7
Add my support for energy (#9681)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-08-02 09:50:47 -07:00
Joakim Sørensen
285f3fe330
Fix text color for hass-tabs-subpage with narrow (#9680) 2021-08-02 09:50:24 -07:00
Bram Kragten
4d01199986
Clear all energy collection prefs (#9684) 2021-08-02 09:39:01 -07:00
Paulus Schoutsen
bcc0052fe0 Update text 2021-08-02 08:45:05 -07:00
Paulus Schoutsen
4b592d81bd
Simplify date picker and put in sidebar (#9677)
* Simplify date picker and put in sidebar

* Convert picker to reusable component

* Put date picker in top bar on desktop

* Chefs
2021-08-02 08:18:49 -07:00
Bram Kragten
884e323288
Make clear it is showing today (#9679) 2021-08-02 07:22:36 -07:00
Bram Kragten
78b799dd05
Add cost stat ids (#9678) 2021-08-02 07:22:17 -07:00
Paulus Schoutsen
847fa2e700
Add energy distribution card to auto lovelace if energy configured (#9675)
* Add energy distribution card to auto lovelace if energy configured

* Add import

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-08-02 12:36:13 +00:00
Paulus Schoutsen
481a79e311
Allow specifying collection keys so energy dashboard has own (#9674) 2021-08-02 14:23:15 +02:00
Paulus Schoutsen
f19f2ff321
Add tooltips to the gauges (#9676) 2021-08-02 14:21:41 +02:00
Bram Kragten
2adbb47373
Refresh stats at 20 minutes past the hour every hour (#9667) 2021-08-01 21:24:41 +00:00
Bram Kragten
2159a5419a
Fix device energy graph height (#9666)
* Fix device energy graph height

* Update state-history-chart-timeline.ts

* Update hui-energy-devices-graph-card.ts
2021-08-01 13:59:34 -07:00
Bram Kragten
044d6a15d9
Add view type selector to view editor (#9671) 2021-08-01 22:55:51 +02:00
Bram Kragten
b6055062c6
Don's start at zero so growth is beter visible + calc sum state correctly (#9672) 2021-08-01 22:55:41 +02:00
Bram Kragten
6fd85e043b
Sidebar view: Allow to move card position from UI (#9669) 2021-08-01 18:17:34 +02:00
Bram Kragten
e07ac52356
Add UOM to stats chart, fix coloring of bands (#9665) 2021-07-31 20:36:27 +02:00
Paulus Schoutsen
0f16ba9325
Speed up data loading and allow embedding individual energy cards (#9660)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-07-31 18:33:41 +02:00
Bram Kragten
2982adbfa7
Fix return compensation not being negative (#9654) 2021-07-30 12:57:27 -07:00
Bram Kragten
5147dff670
Sidebar view: Move all cards to 1 column on mobile (#9656) 2021-07-30 12:57:01 -07:00
Bram Kragten
2cdf78c504
Add grid neutrality gauge (#9655) 2021-07-30 12:55:58 -07:00
Bram Kragten
cfad45b7c2
fix and finish statistics card (#9658) 2021-07-30 12:52:38 -07:00
Bram Kragten
5234e9bce5
still round numbers when not formatting them (#9653) 2021-07-30 17:36:31 +02:00
Bram Kragten
0ed5454d02
fix self consumed solar (#9651) 2021-07-30 12:28:47 +02:00
Thomas Lovén
03080973be
Add needle option to ha-gauge and gauge card (#9637) 2021-07-30 10:51:21 +02:00
Paulus Schoutsen
a4f51b0cb3
Fix label for device consumption (#9648) 2021-07-30 09:42:54 +02:00
Bram Kragten
ae10ff42e1
Update state-history-chart-line.ts 2021-07-29 20:45:25 +02:00
Bram Kragten
d4cbdab4a3
Fix energy calculations (#9647)
* Fix calculations

* max.. not min...
2021-07-29 18:29:49 +00:00
Bram Kragten
1bd6392a4c
Add text when no statistics found (#9642)
* Add text when no statistics found

* Update src/components/entity/ha-statistic-picker.ts

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>

* fix typos

* Update src/components/entity/ha-statistic-picker.ts

* Prettier

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-07-29 20:26:22 +02:00
Bram Kragten
1531e99528
Energy dashboard tweaks and fixes (#9643)
* Energy dashboard tweaks and fixes

* Make headers smaller

* Change button styling in onboarding

* Disable add when no stat choosen

* Oops

* Update hui-energy-carbon-consumed-gauge-card.ts

* Update hui-energy-distribution-card.ts
2021-07-29 10:44:33 -07:00
Julien Ehrhart
6e7af18494
Add support for DEVICE_CLASS_MONETARY (#9640) 2021-07-29 15:20:12 +00:00
Paulus Schoutsen
e1bae65aeb
Remove currency from initial config (#9638) 2021-07-29 17:12:49 +02:00
Paulus Schoutsen
9a92825954
Move energy panel up in sidebar (#9636)
* Move energy panel up in sidebar

* Remove headers from wizard

* Update text

* Always show all configured devices

* Make leaf clickable

* Bump HAWS
2021-07-28 11:05:00 -07:00
Paulus Schoutsen
469faf509b
Remove the energy summary card since it's already in other cards (#9635) 2021-07-28 10:46:59 -07:00
Paulus Schoutsen
f87d4a5ab6
If we have solar defined, always make sure sum is number so it shows placeholders (#9634) 2021-07-28 10:46:51 -07:00
Bram Kragten
9c31b749d7
Format monetary sensor as currency (#9633) 2021-07-28 09:34:03 -07:00
Paulus Schoutsen
521d5df064
Show solar forecast even if no prod stats available (#9632) 2021-07-28 09:20:31 -07:00
Paulus Schoutsen
4d330fba8a
Use historic CO2 data into account (#9626)
* Use historic CO2 data into account

* Also add to gauge

* Apply suggestions from code review

* Format

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-07-28 09:20:06 -07:00