92 Commits

Author SHA1 Message Date
Steve Repsher
c71fd055a4
Expand use of prettier to all tracked files (#17311) 2023-07-18 17:16:33 +02:00
Bram Kragten
7584404d31
Fix cast build (#17162) 2023-07-04 20:41:40 +02:00
renovate[bot]
26d4839dfd
Update dependency @types/chromecast-caf-receiver to v6 (#15724)
* Update dependency @types/chromecast-caf-receiver to v6

* Import cast namespace from receiver for receiver/media entry

* Use sender event types in manager and remove anonymous listeners

* Apply suggestions from code review

* prettier

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-05-30 09:30:04 +00:00
Paul Bottein
71bb540352
Use key instead of keycode for key event (#16625) 2023-05-25 18:47:57 +02:00
Steve Repsher
aa3fd70966
Use Babel runtime for helpers and regenerator (33%+ bundle reduction) (#16466) 2023-05-08 14:47:53 +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
Steve Repsher
9ce4563dd4
Prefer nothing over empty templates (#15633) 2023-02-28 11:02:47 +01:00
Bram Kragten
7041d322d6
Allow energy dashboard to be cast (#15397) 2023-02-23 10:38:44 +01:00
chiahsing
3158e6043d
Fix a bug in cast launcher that hassURL and path are incorrectly passed (#15546) 2023-02-22 16:15:16 +00:00
Steve Repsher
1b922e0065
Add more alternative text to various images (#14932)
* Add alt text for cast launcher images

* Hide icon with supervisor form field label

* Use attribute for iframe title for ingress view

* Hide some decorative ZWave/ZHA icons

* Hide image preload in state card configurator

* Use title for alt text  on image media

* Hide media art as decorative

* Do not allow empty string for image media
2023-01-22 22:47:12 -05:00
Bram Kragten
f5385ba277
Check if cast message came from logged in instance (#12354) 2022-12-06 12:47:17 +01:00
Bram Kragten
c119163422
Add grouping by device to generated dashboard config (#14398) 2022-11-28 15:56:35 +00:00
Aaron Carson
c2436fb157
Update incorrect copy (#14415) 2022-11-21 16:21:20 +00:00
Paulus Schoutsen
93f4ae1bea
Add redirects to cast to catch some common mistakes in custom cards (#12808) 2022-05-26 23:58:54 +02:00
Bram Kragten
8f8017ecff
Remove zwave and ozw panels (#11911)
Remove zwave and ozw panels
2022-03-04 14:10:44 -08:00
Paulus Schoutsen
cd740ed135
Fix cast receiver background (#11825)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2022-02-24 10:52:12 +00:00
Thomas Lovén
f02dd39619
Add loadCardHelpers to cast scope (#11616) 2022-02-09 23:01:05 +01:00
Bram Kragten
96f103644a
Send error message to sender (#10660) 2021-11-19 13:22:49 -08:00
Bram Kragten
7d94615f47
Cast fixes (#10598) 2021-11-17 10:33:15 -08:00
Bram Kragten
6518aefb7f
Prevent cast timeout after 10 mins, show current shown Lovelace view (#10586) 2021-11-09 21:53:40 +01:00
Bram Kragten
b97d6d7059
Play dummy media to prevent app from closing (#10531) 2021-11-04 10:12:07 -07:00
Bram Kragten
9425b943dd
Add separate cast media entrypoint (with ES5) (#10527) 2021-11-04 10:09:21 -07: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
Bram Kragten
2936865c55
Bump typescript, lint, prettier (#10108) 2021-09-30 12:39:03 +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
Bram Kragten
2e16127fde
Inline mdi icons with babel plugin + bump build deps (#9498) 2021-07-12 09:26:07 -07: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
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
Paulus Schoutsen
63e10314bd
Sketch out strategies (#8959)
Co-authored-by: Zack Arnett <arnett.zackary@gmail.com>
2021-04-23 09:36:45 -07:00
Josh McCarty
f43c420d59
Create number formatting options on the profile panel (#7925) 2021-03-28 18:32:48 +02:00
twodice
25c886d401
Add an absolute height to cast receiver to fix height inheritance (#8667)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-03-22 13:11:01 +01:00
Tierney Cyren
f887c27ad1
fix: move @types modules from deps to devDeps (#8539) 2021-03-04 10:05:28 +01:00
Joakim Sørensen
09e7600d86
Use websockets (#8403)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-02-18 18:18:05 +01:00
Paulus Schoutsen
9c7af0dfce
Drop margin from cast header (#8331) 2021-02-06 23:00:06 +01:00
Joakim Sørensen
a1d07e5a00
Sort imports (#8104) 2021-01-13 17:17:12 +01:00
Philip Allgaier
7e769d0e14
Make <ha-card> use <h1> for header (#7373)
Co-authored-by: Zack Barett <zackbarett@hey.com>
2020-10-17 23:22:56 +02:00
Bram Kragten
2ecf7bca97
Set hass when creating card (#7187) 2020-10-02 15:09:27 +02:00
Bram Kragten
ec920093d4
Fix panel view and backgrounds (#7181) 2020-10-01 13:54:54 +02:00
Zack Barett
771c7518e6
Custom Lovelace View Layouts (#6557)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-09-30 11:06:03 +02:00
Bram Kragten
d2e9e22e4e
Add media player to cast app (#7160)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-30 10:24:38 +02:00
Paulus Schoutsen
c445d4b839
Update supported browsers for Cast 2020-09-29 11:31:03 +02: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
209dd9923f
Allow to select a different dashboard when adding entities / moving cards (#6478) 2020-08-03 16:29:26 +02:00
Bram Kragten
f8c5eeab5d
Replace all private properties with internalProperty decorator (#6386) 2020-07-14 21:38:36 -07:00
Bram Kragten
90e14762e3
Fix double toolbars on error/loading in dev tools (#6380) 2020-07-14 21:58:40 +02:00
Paulus Schoutsen
454ddf366a
Use dynamic import for cast/demo to show latest build (#6202) 2020-06-22 10:24:54 -07:00