Full switch from fhem to homematic ccu + frontend cleanup

This commit is contained in:
Martin Bauer
2021-09-19 08:36:59 +00:00
parent 33356fa8ca
commit a0e498edeb
23 changed files with 1921 additions and 1815 deletions

View File

@@ -3,7 +3,7 @@
"key": "lovelace",
"data": {
"config": {
"title": "\u00dcbersicht",
"title": "Zimmer",
"views": [
{
"badges": [],
@@ -52,7 +52,8 @@
"name": "K\u00fcche"
},
{
"type": "divider"
"type": "section",
"label": "Rollos"
},
{
"entity": "cover.wohnzimmer_fenster_rollo",
@@ -75,7 +76,8 @@
"type": "custom:state-card-custom-cover"
},
{
"type": "divider"
"type": "section",
"label": "Gang"
},
{
"entity": "light.gang_licht",
@@ -126,67 +128,120 @@
}
]
},
"type": "custom:mini-media-player"
},
{
"type": "horizontal-stack",
"title": "Pool",
"cards": [
{
"type": "gauge",
"entity": "sensor.pool_temperature",
"min": 10,
"name": "Temperatur",
"max": 30,
"severity": {
"green": 18,
"yellow": 20,
"red": 24
}
},
{
"type": "gauge",
"entity": "sensor.pool_ph",
"min": 6,
"name": "pH",
"max": 9,
"severity": {
"green": 6.9,
"yellow": 7.4,
"red": 8
}
},
{
"type": "gauge",
"entity": "sensor.pool_oxydo_reduction_potential",
"min": 400,
"name": "Redox",
"max": 650,
"severity": {
"green": 650,
"yellow": 500,
"red": 400
}
},
{
"type": "button",
"name": "Pumpe",
"icon": "mdi:pump",
"entity": "switch.poolpumpesteckdose",
"show_state": true
}
]
"type": "custom:mini-media-player",
"name": "K\u00fcche Radio"
},
{
"type": "entities",
"entities": [
{
"entity": "sensor.pool_pumpe_heute"
"entity": "light.wohnzimmer_deckenlampe",
"name": "Deckenlampe",
"icon": "mdi:ceiling-light"
},
{
"entity": "sensor.pool_pumpe_gestern"
"entity": "light.wohnzimmer_kugel",
"name": "Kugel",
"icon": "mdi:circle-slice-8"
},
{
"entity": "light.wohnzimmer_stehlampe",
"name": "Stehlampe Unten",
"icon": "hue:dimmer-switch"
},
{
"entity": "light.wohnzimmer_stehlampe_oben",
"icon": "hue:dimmer-switch",
"name": "Stehlampe Oben"
},
{
"entity": "light.wohnzimmer_regal_links",
"name": "Regal links",
"icon": "hue:lightstrip"
},
{
"entity": "light.wohnzimmer_regal_rechts",
"name": "Regal rechts",
"icon": "hue:lightstrip"
},
{
"entity": "cover.wohnzimmer_fenster_rollo",
"name": "Rollo Fenster",
"type": "custom:state-card-custom-cover"
},
{
"entity": "cover.wohnzimmer_terrassentur_rollo",
"name": "T\u00fcr Rollo",
"icon": "hass:door",
"type": "custom:state-card-custom-cover"
},
{
"entity": "sensor.wohnzimmer_terassentur_temperatur",
"name": "Terassent\u00fcr"
}
]
],
"title": "Wohnzimmer",
"state_color": true
},
{
"type": "entities",
"entities": [
{
"entity": "light.esszimmer_deckenlampe_mitte",
"name": "Mitte Deckenlampe",
"icon": "mdi:ceiling-light"
},
{
"entity": "light.esszimmer_deckenlampe_west",
"name": "Tisch Deckenlampe",
"icon": "mdi:ceiling-light"
},
{
"entity": "light.kuche_vorne",
"name": "Anrichte unten",
"icon": "hue:lightstrip"
},
{
"entity": "cover.esszimmer_fenster_rollo",
"name": "Rollo Esszimmer",
"type": "custom:state-card-custom-cover"
},
{
"entity": "sensor.esszimmer_temperatur",
"name": "Gangt\u00fcr"
}
],
"title": "Esszimmer"
},
{
"type": "entities",
"entities": [
{
"entity": "light.kuche_deckenlampe",
"name": "Deckenlampe",
"icon": "mdi:ceiling-light"
},
{
"entity": "light.kuche_links",
"name": "LED links",
"icon": "hue:lightstrip"
},
{
"entity": "light.kuche_rechts",
"name": "LED rechts",
"icon": "hue:lightstrip"
},
{
"entity": "cover.kuche_fenster_rollo",
"name": "Rollo K\u00fcche",
"type": "custom:state-card-custom-cover"
},
{
"entity": "sensor.kueche_dht22_temperatur",
"name": "Raspi"
}
],
"title": "K\u00fcche"
}
],
"icon": "mdi:sofa",
@@ -231,6 +286,48 @@
],
"type": "custom:room-glance-card"
},
{
"card": {
"title": "Lichter die noch an sind",
"type": "entities"
},
"entities": [
{
"entity": "group.hallway",
"icon": "mdi:door-closed",
"name": "Gang"
},
{
"entity": "light.essbereich_lichter",
"icon": "mdi:sofa",
"name": "Esszimmer/K\u00fcche"
},
{
"entity": "light.wohnzimmer_lichter",
"icon": "mdi:sofa",
"name": "Wohnzimmer"
},
{
"entity": "light.arbeitszimmer_lichter",
"icon": "mdi:monitor-multiple",
"name": "Arbeitszimmer"
},
{
"entity": "group.outside",
"icon": "mdi:flower",
"name": "Drau\u00dfen"
},
{
"entity": "switch.mobile_steckdose_schalter_2",
"name": "Balkon"
}
],
"show_empty": false,
"state_filter": [
"on"
],
"type": "entity-filter"
},
{
"artwork": "cover",
"entity": "media_player.bedroompi",
@@ -274,7 +371,7 @@
"type": "music"
},
{
"icon": "mdi:library-music-outline",
"icon": "mdi:playlist-music",
"id": "spotify:playlist:37i9dQZF1DX7heGeZ10YDi",
"name": "Different Sleeping List",
"type": "music"
@@ -309,21 +406,23 @@
"name": "Stillen"
},
{
"entity": "light.schlafzimmer_deckenlampe_2",
"name": "Deckenlampe"
"entity": "light.schlafzimmer_deckenlampe",
"name": "Deckenlampe",
"icon": "mdi:ceiling-light"
},
{
"entity": "light.schlafzimmer_fluter",
"name": "Fluter"
"name": "Fluter",
"icon": "hue:floor-shade"
},
{
"entity": "light.bett_martin",
"icon": "mdi:sleep",
"icon": "mdi:bed",
"name": "Bett Martin"
},
{
"entity": "light.bett_rebecca",
"icon": "mdi:sleep",
"icon": "mdi:bed",
"name": "Bett Rebecca"
},
{
@@ -356,48 +455,6 @@
],
"show_header_toggle": false,
"type": "entities"
},
{
"card": {
"title": "Lichter die noch an sind",
"type": "entities"
},
"entities": [
{
"entity": "group.hallway",
"icon": "mdi:door-closed",
"name": "Gang"
},
{
"entity": "group.living_area",
"icon": "mdi:sofa",
"name": "Wohnzimmer/Esszimmer"
},
{
"entity": "group.office_martin",
"icon": "mdi:monitor-multiple",
"name": "Martins B\u00fcro"
},
{
"entity": "switch.mobile_steckdose_schalter_1",
"icon": "mdi:palm-tree",
"name": "Palmenlicht"
},
{
"entity": "group.outside",
"icon": "mdi:flower",
"name": "Drau\u00dfen"
},
{
"entity": "switch.mobile_steckdose_schalter_2",
"name": "Balkon"
}
],
"show_empty": false,
"state_filter": [
"on"
],
"type": "entity-filter"
}
],
"icon": "mdi:bed-empty",
@@ -455,12 +512,6 @@
"entity": "cover.arbeitszimmer_rollo",
"name": "Rollo",
"type": "custom:state-card-custom-cover"
},
{
"entity": "binary_sensor.arbeitszimmer_bewegungsmelder_bewegung",
"format": "relative",
"name": "Bewegung",
"secondary_info": "last-changed"
}
],
"show_header_toggle": false,
@@ -508,7 +559,8 @@
},
{
"entity": "light.kinderzimmer_fluter",
"name": "Fluter"
"name": "Fluter",
"icon": "hue:floor-shade"
},
{
"entity": "cover.kinderzimmer_rollo_2",
@@ -523,7 +575,7 @@
{
"entity": "switch.tasmota07",
"name": "F\u00f6n Schlafzimmer",
"icon": "mdi:fan"
"icon": "mdi:hair-dryer"
}
],
"show_header_toggle": false,
@@ -578,52 +630,118 @@
"title": "Kinderzimmer"
},
{
"title": "Draussen",
"path": "draussen",
"icon": "mdi:tree",
"badges": [],
"cards": [
{
"aspect_ratio": "16x9",
"entities": [
"group.bathroom"
],
"image": "/local/img/bathroom2.jpg",
"scenes": [
"type": "vertical-stack",
"title": "Pool",
"cards": [
{
"color": "#f07a1d",
"name": "Normal",
"scene": "scene.bad_normal"
"type": "horizontal-stack",
"cards": [
{
"type": "gauge",
"entity": "sensor.pool_temperature",
"min": 10,
"name": "Temperatur",
"max": 30,
"severity": {
"green": 18,
"yellow": 20,
"red": 24
}
},
{
"type": "gauge",
"entity": "sensor.pool_ph",
"min": 6,
"name": "pH",
"max": 9,
"severity": {
"green": 6.9,
"yellow": 7.4,
"red": 8
}
},
{
"type": "gauge",
"entity": "sensor.pool_oxydo_reduction_potential",
"min": 400,
"name": "Redox",
"max": 650,
"severity": {
"green": 650,
"yellow": 500,
"red": 400
}
},
{
"type": "button",
"name": "Pumpe",
"icon": "mdi:pump",
"entity": "switch.poolpumpesteckdose",
"show_state": true
}
]
},
{
"color": "#fdef56",
"name": "Hell",
"scene": "scene.bad_hell"
},
{
"icon": "mdi:duck",
"name": "Baden",
"scene": "scene.bad_baden"
"type": "entities",
"entities": [
{
"entity": "sensor.pool_pumpe_heute"
},
{
"entity": "sensor.pool_pumpe_gestern"
}
]
}
],
"type": "custom:room-glance-card"
]
},
{
"type": "entities",
"entities": [
{
"entity": "light.bad_licht",
"name": "Deckenlampe"
"entity": "light.haustur_licht",
"icon": "hue:wall-lantern",
"name": "Haust\u00fcr"
},
{
"entity": "switch.bad_lufter",
"icon": "mdi:emoticon-poop",
"name": "L\u00fcfter"
"entity": "light.aussen_terassenlicht",
"icon": "hue:wall-lantern",
"name": "Terrasse"
},
{
"type": "divider"
},
{
"entity": "light.garten_stehleuchte",
"icon": "hue:bollard"
},
{
"entity": "light.garten_spot_magnolie",
"icon": "hue:floor-spot"
},
{
"entity": "light.garten_vorne",
"icon": "hue:floor-spot",
"name": "Einfahrt"
},
{
"type": "divider"
},
{
"entity": "light.haustur_licht_nw",
"name": "Ecklicht oben (NW)",
"icon": "hue:wall-lantern"
}
],
"show_header_toggle": false,
"type": "entities"
"title": "Licht",
"state_color": true
}
],
"icon": "mdi:fish",
"path": "bad-and-co",
"title": "Bad & Co"
]
}
]
}