167 Commits

Author SHA1 Message Date
Steve Repsher
1f1898fa46
Make module types explicit and convert some to ESM (#15964) 2023-03-30 11:23:43 +02:00
Paul Bottein
d272783258
Mock history stream for demo (#15886)
* Mock history stream for demo

* Fix type error
2023-03-20 20:39:01 +01:00
Steve Repsher
9ce4563dd4
Prefer nothing over empty templates (#15633) 2023-02-28 11:02:47 +01:00
Steve Repsher
03e3f161f7
Prefer regex literals over constructors (#15553) 2023-02-23 14:06:35 +01:00
Bram Kragten
25d8550dd7
Fix double defined cloud-account (#15537) 2023-02-21 19:28:21 +00:00
Steve Repsher
a469a92601
Bump webpack to v5.72.1 and tweak stats scripts (#15516) 2023-02-21 09:50:28 +01:00
dependabot[bot]
d1b95ba36b
Bump eslint-config-airbnb-typescript from 14.0.0 to 17.0.0 (#15373)
* Bump eslint-config-airbnb-typescript from 14.0.0 to 17.0.0

Bumps [eslint-config-airbnb-typescript](https://github.com/iamturns/eslint-config-airbnb-typescript) from 14.0.0 to 17.0.0.
- [Release notes](https://github.com/iamturns/eslint-config-airbnb-typescript/releases)
- [Changelog](https://github.com/iamturns/eslint-config-airbnb-typescript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/iamturns/eslint-config-airbnb-typescript/compare/v14.0.0...v17.0.0)

---
updated-dependencies:
- dependency-name: eslint-config-airbnb-typescript
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Deduplicate dependencies [dependabot skip]

* Disable default params last rule for current offenders

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-02-10 18:38:48 +00:00
Erik Montnemery
050ed145bf
Allow overriding a sensor's display precision (#15363)
* Allow overriding a sensor's display precision

* Update demo + gallery

* Lint

* Fix state not updated in the UI

* Use formatNumber for options

* Feedbacks

* Add default precision and minimumFractionDigits

* Remove useless undefined

---------

Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
2023-02-08 18:20:58 +01:00
Bram Kragten
f0d53aab7b
Fix ES5 build and fix polyfill of Intl.Locale (#15322) 2023-02-02 20:20:23 +01:00
Bram Kragten
fe87466351
Add link to aliases in cloud config entity settings (#14959) 2023-01-02 20:42:31 +01:00
Paul Bottein
2575d35f2c
Add aliases dialog to entity registry settings (#14860) 2022-12-27 21:36:08 +01:00
Franck Nijhof
a9d44fcb61
Add Text entity (#14447) 2022-11-24 21:23:50 +01:00
Erik Montnemery
0bfb2b4a56
Don't fetch unneeded statistics from core (#14423) 2022-11-21 16:24:57 +01:00
epenet
0b6c6b2b98
Rename imperial unit system to us_customary (#14092) 2022-10-19 22:00:11 +02:00
Sven Serlier
c468fba36f
Fix demo leak sensor (#14046) 2022-10-10 17:04:49 +02:00
Bram Kragten
ef9643ddaf
Fix energy demo (#14002) 2022-10-05 11:03:49 +02:00
Paul Bottein
cc76a6c5ed
Add unique_id to entity registry (#13886) 2022-09-27 15:39:14 +02:00
Erik Montnemery
6252955bb5
Simplify energy settings (#13846) 2022-09-23 09:03:17 +02:00
Erik Montnemery
d5d6216cfe
Move recorder statistics API to data/recorder.ts (#13672)
* Move recorder statistics API to data/recorder.ts

* Fix import

* prettier
2022-09-12 13:23:02 +02:00
Bram Kragten
430e671901
unique-id -> id (#13552) 2022-09-01 11:51:38 -04:00
Bram Kragten
d041bd9fd3
use device and area names in service call description (#13532) 2022-08-31 15:30:44 +00:00
Paulus Schoutsen
729e2f5248
Use entity name in device info page (#13165)
* Use entity name in device info page

* Adjust to new format

* Use latest API

* Fix types

* Fix CI?

Co-authored-by: Zack <zackbarett@hey.com>
2022-07-11 19:07:07 -07:00
Bram Kragten
29c3fb0f92
Fix energy demo (#13172) 2022-07-11 08:44:34 -05:00
Sven Serlier
d9d29db560
Fix demo labels (#13033) 2022-06-30 21:51:23 +02:00
Sven Serlier
86a574dbbd
Fix demo labes (#13025) 2022-06-28 18:22:31 +00:00
Sven Serlier
05346ae9fc
Fix demo labels (#12984) 2022-06-21 10:36:42 -05:00
Bram Kragten
6c5cf2a0ec
Fix energy panel in Demo (#12906) 2022-06-16 10:00:52 -05:00
Thomas Lovén
e3d394eb32
Change service_data to just data (#12628) 2022-05-24 10:49:07 -05:00
Paulus Schoutsen
82035d587a
Import all date-fns from modules (#12717) 2022-05-18 12:09:25 -07:00
Joakim Sørensen
edc15940a2
Add icon to add-on picker (#12174) 2022-03-31 15:16:19 +02:00
Bram Kragten
ba63ab8b7a
Latest paper-dropdown -> mwc-select conversion (#11692) 2022-02-15 09:11:43 -06:00
Paulus Schoutsen
bb40e66833
Adjust fossil energy consumption in demo to avoid negative numbers (#11160) 2022-01-11 18:55:32 -06:00
Bram Kragten
fd6785b593
Use backend for day month stats in energy dashboard (#10728) 2021-11-30 09:22:06 -08:00
Lasse Rosenow
390e5b3881
Simplify launch screen svg (#10643) 2021-11-18 16:20:45 -08:00
Lasse Rosenow
3154011c65
Improve startup experience by removing AppBar skeleton (#10569) 2021-11-15 07:54:59 -08:00
Bram Kragten
667fd39147
Convert default state icons (#10223)
* Convert default state icons

* update

* Update cast/src/launcher/layout/hc-cast.ts

Co-authored-by: Philip Allgaier <mail@spacegaier.de>

* Update ha-config-core.js

* Update

* Finish

* Add siren icon

* FIx

* Add curtain icons

Co-authored-by: Philip Allgaier <mail@spacegaier.de>
2021-10-20 11:10:16 +02:00
Paulus Schoutsen
6f6fc759cc
Add selector demo to gallery (#10213) 2021-10-08 20:56:32 +02:00
Bram Kragten
2936865c55
Bump typescript, lint, prettier (#10108) 2021-09-30 12:39:03 +02:00
Paulus Schoutsen
5bd92d04d9
Get solar forecasts from energy platform (#9794)
* Get solar forecasts from energy platform

* Allow picking other forecasts in settings
2021-08-25 10:40:07 -07:00
Bram Kragten
63e3de00cb
Remove battery from demo (#9801)
* Remove gas and battery from demo

* Update energy.ts

* Just battery
2021-08-13 12:09:49 -07:00
Bram Kragten
3479fb9d94
Add gas to energy dashboard (#9787) 2021-08-13 10:39:20 -07:00
Bram Kragten
19e4c0657a
Add battery to energy dashboard (#9757) 2021-08-12 08:40:21 -07:00
Bram Kragten
dc50e54afc
Add period selection to energy dashboard (#9756) 2021-08-11 01:22:27 +02:00
Bram Kragten
5e40dcdc38
Add support for statistics card to demo (#9703) 2021-08-03 15:16:08 -07: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
b246502cb6
Energy demo (#9698)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-08-03 09:50:31 -07:00
Bram Kragten
3f447bb8a7
Bump Polymer (#9525)
* Bump Polymer

* Remove formatting from patch

* Cleanup

* Fix Vaadin

* Fix typing
2021-07-16 01:23:09 +02:00
Bram Kragten
e797c01761
Update lint rules (#9563)
Updated deps

Added `unused-imports`, prefer arrow, and import order
2021-07-15 12:08:04 +02:00
Joakim Sørensen
21a3a8c594
Navigate cleanup (#9202) 2021-05-25 17:46:36 +02:00
Bram Kragten
52087c0e30
Fix _initialize (#9206)
* Fix _initialize

* Update ha-demo.ts
2021-05-18 15:11:24 -07:00