Make work with Cast

This commit is contained in:
2022-07-24 18:54:22 +00:00
parent 02c8f91690
commit 1cb64a2c8d
10 changed files with 85 additions and 18 deletions

View File

@@ -21,6 +21,7 @@ export const BrowserIDMixin = (SuperClass) => {
}
get browserID() {
if (document.querySelector("hc-main")) return "CAST";
if (localStorage[ID_STORAGE_KEY]) return localStorage[ID_STORAGE_KEY];
this.browserID = "";
return this.browserID;

View File

@@ -13,6 +13,7 @@ export const ConnectionMixin = (SuperClass) => {
public browserEntities = {};
LOG(...args) {
return;
const dt = new Date();
console.log(`${dt.toLocaleTimeString()}`, ...args);
}

View File

@@ -60,12 +60,12 @@ import { BrowserIDMixin } from "./browserID";
x Title templates
- Tweaks
- Quickbar tweaks (ctrl+enter)?
- Card-mod preload
x Card-mod preload
- Video player?
- Media_seek
- Screensavers
- IMPORTANT: FIX DEFAULT HIDING OF ENTITIES
- Check functionality with CAST - may need to add frontend part as a lovelace resource
X Check functionality with CAST - may need to add frontend part as a lovelace resource
*/
export class BrowserMod extends ServicesMixin(
PopupMixin(