Commit Graph

232 Commits (dev)

Author SHA1 Message Date
Kendell R f4ee734ea3
Use new localize format (#18574)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-11-28 12:29:41 +00:00
renovate[bot] 15395275ba
Update dependency prettier to v3.1.0 (#18675)
* Update dependency prettier to v3.1.0

* Reformat

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-11-19 23:31:56 -05:00
Paul Bottein 1cf928b425
Improve Lovelace types (#18652) 2023-11-15 11:13:49 +01:00
Kendell R aa0419e783
Minify logos (#18542) 2023-11-07 13:39:38 +01:00
Bram Kragten 8efc0816bb
Rename shopping-list-card to todo-list-card (#18378) 2023-10-24 20:06:03 +02:00
Bram Kragten 2b9540fe03
Add support for todo component (#18289) 2023-10-23 22:53:09 +02:00
Steve Repsher 3b2f6d71f5
Minify ha-style/Roboto and load asynchronously (#18226) 2023-10-16 20:37:50 +02:00
Simon Lamon 62d21bea4f
Replace polymer paper-slider (#18168)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-10-16 13:35:13 +02:00
Bram Kragten 5aaf0cd579
Update logo (#17964) 2023-09-26 15:33:40 +02:00
Bram Kragten 0ee231ee85
Fix demo (#17438)
* Fix demo

Fix energy and notification in demo

* Update config_entries.ts
2023-07-31 06:16:46 -04:00
Steve Repsher c71fd055a4
Expand use of prettier to all tracked files (#17311) 2023-07-18 17:16:33 +02:00
Paul Bottein 303087d049
Fix documentation form (#16601) 2023-05-23 14:45:53 +02:00
Bram Kragten 8695bbc490
Move globalThis polyfill to compatibility, add more compatibility (#16386) 2023-05-04 15:49:28 +02:00
Steve Repsher 4e1e76ccc2
Add module preload to demo page (#16274) 2023-04-24 11:27:40 +02:00
Steve Repsher aac28efd32
Streamline HTML generation and consolidate templates (#16117) 2023-04-20 11:10:12 +02:00
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
Bram Kragten bc92c0b052
Upgrade to Lit 2 (#9199) 2021-05-18 07:37:53 -07:00
Paulus Schoutsen 6edebe18ad
Use grid for sensor cards on 2nd view of teaching birds demo (#9132) 2021-05-08 13:07:58 +02:00
Bram Kragten 9f032a61a9
Add compatibility for Lit 2.0 (#8878) 2021-05-07 13:16:14 -07:00
Bram Kragten 5754f4463d
Bump babel and eslint (#9049) 2021-04-30 12:15:31 -07:00
Bram Kragten 16996f25af
Update demo lights (#9011) 2021-04-28 00:21:23 +02:00
Philip Allgaier 831b9da0cf
Various demo tweaks + cleanups (#8229) 2021-01-25 10:52:59 +01:00
Joakim Sørensen a1d07e5a00
Sort imports (#8104) 2021-01-13 17:17:12 +01:00
Paulus Schoutsen 1d13947e71
Use Record type (#7798) 2020-11-25 10:40:32 +01:00
Paulus Schoutsen 6d4569c89d
Drop webpackChunkName (#7778) 2020-11-23 10:39:40 +01:00
Paulus Schoutsen f1c16d6674
Mock subscribe template (#7529) 2020-10-29 21:28:41 +01:00
Paulus Schoutsen c3718ff7dd
Add Grid card (#7476) 2020-10-29 10:31:14 +01:00
Andrew Rabert b9c41d8f99
Optimize images (#7091) 2020-09-22 10:49:43 +02:00
Bram Kragten b7d7ca4014
Monkey patch for bug in safari 14 (#7031) 2020-09-17 10:49:37 +02:00
Bram Kragten 9034822c44
Bump lit-analyzer and add back cast types (#6409) 2020-07-16 12:01:24 -07:00
Bram Kragten f8c5eeab5d
Replace all private properties with internalProperty decorator (#6386) 2020-07-14 21:38:36 -07:00
Thomas Lovén e8996063dd
Remove google colors. Fix #6254 (#6263) 2020-06-29 10:51:28 +02:00
Paulus Schoutsen 3b779bf423
Add ha circular progress (#6205) 2020-06-22 14:51:36 -07:00
Paulus Schoutsen 454ddf366a
Use dynamic import for cast/demo to show latest build (#6202) 2020-06-22 10:24:54 -07:00
Paulus Schoutsen 67ac3b4ba3
Drop Custom Elements ES5 adapter (#6107) 2020-06-05 11:04:19 +02:00
Paulus Schoutsen aa9a354746
Preload (#6062) 2020-05-27 12:54:52 -07:00
Paulus Schoutsen 050cdf3783
Integrate compatibility into other entrypoints (#6029) 2020-05-25 19:36:22 +02:00
Paulus Schoutsen af23110074
Move legacy styles to their own files (#6033) 2020-05-25 10:16:01 +02:00
Paulus Schoutsen b8e71609db
Random Rollup tweaks (#6034) 2020-05-25 10:12:42 +02:00
Paulus Schoutsen 7e281f66c2
Rollup (#5995) 2020-05-22 23:05:47 -07:00
Bram Kragten 264759ddf0
Fix entity-filter-card (#5919) 2020-05-18 15:16:56 +02:00
Paulus Schoutsen 6bb7b01d00 Fix demo size_stats 2020-05-13 08:41:35 -07:00
Bram Kragten 0a92c28bac
Split up mdi icons (#4379) 2020-05-05 16:40:11 +02:00
Bram Kragten 01e5dfc9b3
Fix demo themes (#5643) 2020-04-27 20:40:30 +02:00
Paulus Schoutsen 7c6ba1a782
Translation fixes (#5634) 2020-04-26 21:09:05 +02:00
Paulus Schoutsen d45a674652
Ask specific translations (#5560) 2020-04-18 17:14:25 -07:00
Bram Kragten 3d20d8b208
remove @types/chromecast-caf-sender (#5537)
To prevent a collusion with `@types/chromecast-caf-receiver` that would make `lit-analyzer` fail.
2020-04-14 20:25:03 +02:00
Bram Kragten 82f80db558
Update typescript, prettier, tslint -> eslint (#5536)
* Update typescript, prettier, tslint -> eslint

* Organize imports

* Use glob for eslint fix react import
2020-04-14 09:05:45 -07:00
Bram Kragten 4f70ec7dc2
Set correct lang attribute (#5479)
* Set correct lang attribute

* Update lit-localize-lite-mixin.ts

* Update translations-mixin.ts

* Remove lang=""

* Move logic out of mixin
2020-04-08 12:36:06 +02:00
imgbot[bot] 0535247bb3
[ImgBot] Optimize images (#5378)
*Total -- 1,745.75kb -> 1,539.81kb (11.8%)

/demo/public/assets/teachingbirds/meteogram.png -- 66.71kb -> 24.48kb (63.31%)
/demo/public/assets/teachingbirds/background_square.png -- 0.76kb -> 0.37kb (51.98%)
/demo/public/assets/arsaboo/icons/security_armed_red.png -- 6.38kb -> 3.67kb (42.5%)
/demo/public/assets/jimpower/background-15.jpg -- 231.78kb -> 159.68kb (31.11%)
/public/static/images/image-broken.svg -- 0.56kb -> 0.42kb (23.99%)
/demo/public/assets/arsaboo/icons/security_disarmed.png -- 4.21kb -> 3.25kb (22.7%)
/demo/public/assets/arsaboo/icons/automation_enabled.png -- 3.96kb -> 3.08kb (22.32%)
/demo/public/assets/jimpower/cardbackK.png -- 10.56kb -> 8.21kb (22.22%)
/demo/public/assets/arsaboo/icons/abode_enabled.png -- 3.98kb -> 3.16kb (20.62%)
/demo/public/assets/arsaboo/icons/ecobee_blank.png -- 2.18kb -> 1.78kb (18.22%)
/demo/public/assets/arsaboo/floorplans/ecobee_blank.png -- 2.17kb -> 1.78kb (17.87%)
/demo/public/assets/arsaboo/icons/automation_disabled.png -- 6.89kb -> 5.73kb (16.82%)
/demo/public/assets/jimpower/home/james_10.jpg -- 73.21kb -> 61.89kb (15.46%)
/demo/public/assets/arsaboo/icons/camera_patio_streaming.png -- 11.63kb -> 9.88kb (14.98%)
/demo/public/assets/arsaboo/icons/Harmony.png -- 3.83kb -> 3.25kb (14.95%)
/demo/public/assets/arsaboo/icons/light_off.png -- 9.53kb -> 8.51kb (10.77%)
/demo/public/assets/arsaboo/icons/tv_enabled.png -- 5.48kb -> 4.90kb (10.69%)
/demo/public/assets/jimpower/home/bus_10.jpg -- 36.36kb -> 32.58kb (10.4%)
/demo/public/assets/kernehed/bella.jpg -- 33.09kb -> 30.29kb (8.44%)
/demo/public/assets/arsaboo/images/camera.backyard.jpg -- 81.15kb -> 74.80kb (7.82%)
/demo/public/assets/kernehed/oscar.jpg -- 25.32kb -> 23.34kb (7.81%)
/demo/public/assets/arsaboo/images/camera.patio.jpg -- 63.13kb -> 58.52kb (7.29%)
/demo/public/assets/arsaboo/images/camera.porch.jpg -- 76.49kb -> 70.95kb (7.25%)
/demo/public/assets/arsaboo/icons/light_on.png -- 12.03kb -> 11.19kb (6.97%)
/demo/public/assets/jimpower/home/tina_4.jpg -- 59.69kb -> 55.92kb (6.31%)
/gallery/public/images/album_cover.jpg -- 26.11kb -> 24.46kb (6.31%)
/demo/public/assets/teachingbirds/clothes_drying_square.jpg -- 31.93kb -> 29.98kb (6.11%)
/demo/public/assets/arsaboo/images/camera.driveway.jpg -- 59.47kb -> 55.84kb (6.1%)
/demo/public/assets/teachingbirds/laundry_running_square.jpg -- 58.68kb -> 55.61kb (5.22%)
/demo/public/assets/kernehed/camera.entre.jpg -- 65.84kb -> 62.49kb (5.09%)
/demo/public/assets/teachingbirds/Stefan_square.jpg -- 11.25kb -> 10.68kb (5.06%)
/demo/public/assets/teachingbirds/isa_square.jpg -- 18.90kb -> 17.98kb (4.88%)
/demo/public/assets/jimpower/security/motion_3.jpg -- 87.09kb -> 82.99kb (4.71%)
/demo/public/assets/teachingbirds/roomba_square.jpg -- 32.23kb -> 30.82kb (4.39%)
/demo/public/assets/teachingbirds/laundry_clean_2_square.jpg -- 31.87kb -> 30.48kb (4.34%)
/demo/public/assets/teachingbirds/folded_clothes_square.jpg -- 28.60kb -> 27.41kb (4.16%)
/demo/public/assets/arsaboo/icons/abode_disabled.png -- 8.74kb -> 8.38kb (4.06%)
/gallery/public/images/netflix.jpg -- 20.19kb -> 19.39kb (4%)
/demo/public/assets/teachingbirds/roomba_bw_square.jpg -- 15.97kb -> 15.34kb (3.97%)
/demo/public/assets/teachingbirds/trash_square.jpg -- 29.50kb -> 28.39kb (3.76%)
/demo/public/assets/teachingbirds/cleaning_square.jpg -- 38.57kb -> 37.19kb (3.59%)
/demo/public/assets/teachingbirds/dryer_square.jpg -- 18.78kb -> 18.16kb (3.32%)
/gallery/public/images/album_cover_2.jpg -- 129.79kb -> 125.62kb (3.21%)
/demo/public/assets/teachingbirds/House_square.jpg -- 40.59kb -> 39.31kb (3.15%)
/demo/public/assets/arsaboo/icons/tv_disabled.png -- 10.24kb -> 9.93kb (3.08%)
/demo/public/assets/teachingbirds/washer_square.jpg -- 20.52kb -> 20.00kb (2.52%)
/demo/public/assets/teachingbirds/mailbox_square.jpg -- 42.97kb -> 41.98kb (2.3%)
/demo/public/assets/teachingbirds/trash_bear_bw_square.jpg -- 17.60kb -> 17.35kb (1.46%)
/demo/public/assets/teachingbirds/guests_square.jpg -- 49.05kb -> 48.38kb (1.38%)
/demo/public/assets/teachingbirds/mailbox_bw_square.jpg -- 19.44kb -> 19.25kb (0.98%)
/demo/public/assets/arsaboo/icons/tv_on2.png -- 0.79kb -> 0.78kb (0.25%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-03-31 16:50:20 +02:00
Paulus Schoutsen 21fe68add0
Stub config tweaks (#5197)
* Stub config tweaks

* Lint
2020-03-13 20:22:34 +01:00