Little XMas Housekeeping

This commit is contained in:
CCOSTAN 2024-12-25 06:52:06 +00:00
parent 5b5493825d
commit 0ad2ef9239
3 changed files with 3 additions and 116 deletions

3
.gitignore vendored
View File

@ -25,6 +25,7 @@ __pycache__
hacs
alexa_media
custom_components
community
image
tts
secrets.yaml
@ -36,3 +37,5 @@ ip_bans.yaml
production_auth.json
OZW_Log.txt

View File

@ -1,58 +0,0 @@
<link rel="import" href="/local/custom_ui/floorplan/ha-floorplan.html" async>
<dom-module id="ha-panel-clock">
<template>
<style include="ha-style">
.container {
height: 100%;
vertical-align: top;
position: relative;
}
[hidden] {
display: none !important;
}
</style>
<app-toolbar hidden$='{{!showHeader}}'>
<ha-menu-button narrow='[[narrow]]' show-menu='[[showMenu]]'></ha-menu-button>
<div main-title>[[panel.title]]</div>
</app-toolbar>
<div class="container">
<ha-floorplan hass=[[hass]] config=[[panel.config]] is-panel></ha-floorplan>
</div>
</app-header-layout>
</template>
</dom-module>
<script>
Polymer({
is: 'ha-panel-clock',
properties: {
hass: {
type: Object,
},
narrow: {
type: Boolean,
value: false,
},
showMenu: {
type: Boolean,
value: true,
},
showHeader: {
type: Boolean,
value: false,
},
panel: {
type: Object,
}
},
});
</script>

View File

@ -1,58 +0,0 @@
<link rel="import" href="/local/custom_ui/floorplan/ha-floorplan.html" async>
<dom-module id="ha-panel-floorplan">
<template>
<style include="ha-style">
.container {
height: 100%;
vertical-align: top;
position: relative;
}
[hidden] {
display: none !important;
}
</style>
<app-toolbar hidden$='{{!showHeader}}'>
<ha-menu-button narrow='[[narrow]]' show-menu='[[showMenu]]'></ha-menu-button>
<div main-title>[[panel.title]]</div>
</app-toolbar>
<div class="container">
<ha-floorplan hass=[[hass]] config=[[panel.config]] is-panel></ha-floorplan>
</div>
</app-header-layout>
</template>
</dom-module>
<script>
Polymer({
is: 'ha-panel-floorplan',
properties: {
hass: {
type: Object,
},
narrow: {
type: Boolean,
value: false,
},
showMenu: {
type: Boolean,
value: true,
},
showHeader: {
type: Boolean,
value: false,
},
panel: {
type: Object,
}
},
});
</script>