112 lines
5.3 KiB
Plaintext
112 lines
5.3 KiB
Plaintext
|
{
|
||
|
"version": 1,
|
||
|
"key": "lovelace.lovelace_ger",
|
||
|
"data": {
|
||
|
"config": {
|
||
|
"views": [
|
||
|
{
|
||
|
"title": "3D Printer",
|
||
|
"icon": "mdi:printer-3d-nozzle-outline",
|
||
|
"badges": [],
|
||
|
"cards": [
|
||
|
{
|
||
|
"type": "picture",
|
||
|
"image": "http://192.168.178.135:81/stream",
|
||
|
"tap_action": {
|
||
|
"action": "none"
|
||
|
},
|
||
|
"hold_action": {
|
||
|
"action": "none"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"type": "entities",
|
||
|
"entities": [
|
||
|
{
|
||
|
"entity": "light.prusabox_licht_alle",
|
||
|
"name": "Licht",
|
||
|
"type": "custom:slider-entity-row",
|
||
|
"toggle": true
|
||
|
},
|
||
|
{
|
||
|
"entity": "light.prusabox_licht_oben",
|
||
|
"icon": "mdi:led-strip",
|
||
|
"secondary_info": "brightness",
|
||
|
"name": "Oben"
|
||
|
},
|
||
|
{
|
||
|
"entity": "light.prusabox_licht_seiten",
|
||
|
"name": "Seiten",
|
||
|
"icon": "mdi:led-strip"
|
||
|
}
|
||
|
],
|
||
|
"title": "Licht",
|
||
|
"show_header_toggle": false,
|
||
|
"state_color": true
|
||
|
},
|
||
|
{
|
||
|
"type": "entities",
|
||
|
"entities": [
|
||
|
{
|
||
|
"entity": "fan.prusabox_lufter_draussen",
|
||
|
"name": "L\u00fcfter nach aussen",
|
||
|
"secondary_info": "last-changed",
|
||
|
"type": "custom:slider-entity-row",
|
||
|
"toggle": true
|
||
|
},
|
||
|
{
|
||
|
"entity": "fan.prusabox_filter_lufter",
|
||
|
"name": "Filter L\u00fcfter",
|
||
|
"icon": "mdi:filter",
|
||
|
"secondary_info": "last-changed",
|
||
|
"type": "custom:slider-entity-row",
|
||
|
"toggle": true
|
||
|
}
|
||
|
],
|
||
|
"title": "L\u00fcfter",
|
||
|
"show_header_toggle": false
|
||
|
},
|
||
|
{
|
||
|
"type": "entities",
|
||
|
"entities": [
|
||
|
{
|
||
|
"entity": "sensor.prusaprinter_current_state",
|
||
|
"name": "Status",
|
||
|
"secondary_info": "last-changed"
|
||
|
},
|
||
|
{
|
||
|
"type": "custom:template-entity-row",
|
||
|
"icon": "mdi:clock",
|
||
|
"name": "Fertig in",
|
||
|
"state": "{{ states('sensor.prusaprinter_time_remaining') | int // 3600}}h {{ states('sensor.prusaprinter_time_remaining') | int // 60 % 60}}min",
|
||
|
"secondary": "Druckt seit {{ states('sensor.prusaprinter_time_elapsed') | int // 3600}}h {{ states('sensor.prusaprinter_time_elapsed') | int // 60 % 60}}min",
|
||
|
"active": "{{ is_state('light.bed_light', 'off') }}"
|
||
|
},
|
||
|
{
|
||
|
"entity": "sensor.prusaprinter_actual_bed_temp",
|
||
|
"name": "Print Bed",
|
||
|
"icon": "mdi:card"
|
||
|
},
|
||
|
{
|
||
|
"entity": "sensor.prusaprinter_actual_tool0_temp",
|
||
|
"name": "Nozzle",
|
||
|
"icon": "mdi:printer-3d-nozzle"
|
||
|
},
|
||
|
{
|
||
|
"entity": "sensor.prusaprinter_dht22_temperatur",
|
||
|
"name": "Geh\u00e4use",
|
||
|
"icon": "hass:cube"
|
||
|
},
|
||
|
{
|
||
|
"entity": "sensor.prusaprinter_dht22_luftfeuchtigkeit",
|
||
|
"name": "Luftfeuchtigkeit"
|
||
|
}
|
||
|
],
|
||
|
"title": "Status"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|