55 Commits

Author SHA1 Message Date
Wendelin
e703750136
Add and fix stylistic eslint rules (#23735)
* Fix stylistic eslint rules

* Fix eslint issues
2025-01-14 21:00:14 +01:00
Wendelin
abe8899f9b
Update ts-eslint (#23723)
* Update ts-eslint

* Remove comments

* Remove unused ts-ignore

* Add undefined generic type instead of unknown

* Remove unused undefined type

* Fix type issues

* Use undefined instead of void for subscribed return type
2025-01-14 11:24:02 +01:00
Wendelin
830d8d2410
Add type import check to eslint (#22488)
* Add type import check to eslint

* Add type imports with eslint --fix
2024-10-30 11:12:30 +00:00
Paul Bottein
94e321a364
Add UI support for trigger list (#22133)
* Add UI support for trigger list

* Update gallery

* Fix gallery
2024-09-27 16:56:22 +02:00
Bram Kragten
522f66423b
Fix demo map panel (#21265) 2024-07-03 13:26:19 +00:00
Paul Bottein
433c00b73a
Move card loading logic into hui-card (#21018)
* Move card rebuild to hui-card

* Use hui card in stack card

* add once to event

* Do not use state

* Use hui card in conditional card

* Use editMode instead of lovelace in hui card

* Fix edit mode

* Use hui-card in card dialog and panel todo

* Fix edit mode

* Fix types

* Migrate entity filter card

* Update demo card

* Fix UI view

* Allow edit mode attribute

* Remove unused condition

* Remove unused section preview code

* Remove useless check for config
2024-06-12 13:38:21 +02:00
Paul Bottein
3a855f95ad
Fix broken config switch in demo (#20971) 2024-06-03 13:37:32 +02:00
renovate[bot]
c2d3e7900e
Update date-fns to v3 (major) (#20504)
* Update date-fns to v3

* update imports

* breaking changes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2024-04-12 17:03:30 +02:00
Bram Kragten
85f2016371
Add floor selector (#20295) 2024-04-02 10:43:50 +02:00
G Johansson
8b77024fb9
Add reconfigure config entry (#19794) 2024-03-04 20:23:01 +01:00
Bram Kragten
336376d2a5
Fix icons in gallery, demo and cast (#19732)
* Fix icons in gallery and demo

* Add to lovelace gallery

* Update icons.ts

* add BACKWARDS_COMPAT support for icons

* Update entity-state.ts

* Update icons.ts

* Update icons.ts
2024-02-08 17:04:05 +01:00
Paul Bottein
189793bff4
Fix demo dashboard (#19734) 2024-02-08 15:40:03 +01: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
Bram Kragten
2b9540fe03
Add support for todo component (#18289) 2023-10-23 22:53:09 +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
Paul Bottein
303087d049
Fix documentation form (#16601) 2023-05-23 14:45:53 +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
03e3f161f7
Prefer regex literals over constructors (#15553) 2023-02-23 14:06:35 +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
0bfb2b4a56
Don't fetch unneeded statistics from core (#14423) 2022-11-21 16:24:57 +01:00
Bram Kragten
ef9643ddaf
Fix energy demo (#14002) 2022-10-05 11:03:49 +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
29c3fb0f92
Fix energy demo (#13172) 2022-07-11 08:44:34 -05:00
Bram Kragten
6c5cf2a0ec
Fix energy panel in Demo (#12906) 2022-06-16 10:00:52 -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
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
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
Bram Kragten
b246502cb6
Energy demo (#9698)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-08-03 09:50:31 -07: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
Bram Kragten
5754f4463d
Bump babel and eslint (#9049) 2021-04-30 12:15:31 -07:00
Paulus Schoutsen
f1c16d6674
Mock subscribe template (#7529) 2020-10-29 21:28:41 +01: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
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
8a39d18323 Bump TypeScript to 3.7 (#4282)
* Bump TypeScript to 3.7

* Update prettier to support ts 3.7

* Prettier

* More prettier

* Even more prettier
2019-11-27 13:51:03 -08:00
Franck Nijhof
8b6d8f9086 Update documentation link URL for integrations (#3857) 2019-10-02 13:23:41 +02:00
Paulus Schoutsen
2da844a1fb Home Assistant Cast 2019-08-04 22:25:43 -07:00
Paulus Schoutsen
6abbe72e4d
Lovelace cleanups (#3427)
* Improvements

* Add types CAF

* Fix demo switching

* Do not set background color in hui-view
2019-07-26 11:06:16 -07:00
Paulus Schoutsen
60551168a2
Update demo (#3292)
* Update demo

* Kill homebridge hidden

* Add missing air translation

* Hide demo card with localStorage.hide_demo_card

* adjust size of demo card if hidden

* disable lint rule
2019-06-20 23:40:56 -07:00
Paulus Schoutsen
9fc8c0764c Fix demo stub 2019-03-14 15:38:33 -07:00