From: Giorgio Ravera Date: Sat, 16 Feb 2019 21:53:46 +0000 (+0100) Subject: Added Lovelace UI files X-Git-Url: http://git.giorgioravera.it/?a=commitdiff_plain;h=eef5f54a4e2b71d4cece6ea3a12c86c3423fba24;p=homeassistant.git Added Lovelace UI files --- diff --git a/lovelace/climate.yaml b/lovelace/climate.yaml new file mode 100644 index 00000000..41561a14 --- /dev/null +++ b/lovelace/climate.yaml @@ -0,0 +1,25 @@ +- title: Termostato + id: climate + icon: mdi:thermometer + badges: + - sensor.termostato_cucina + - sensor.termostato_sala + - sensor.termostato_bagno + - sensor.termostato_studio + - sensor.termostato_camera + + cards: + - type: thermostat + entity: climate.cucina_termostato_cucina + + - type: thermostat + entity: climate.sala_termostato_sala + + - type: thermostat + entity: climate.bagno_termostato_bagno + + - type: thermostat + entity: climate.studio_termostato_studio + + - type: thermostat + entity: climate.camera_termostato_camera \ No newline at end of file diff --git a/lovelace/covers.yaml b/lovelace/covers.yaml new file mode 100644 index 00000000..a10d4a03 --- /dev/null +++ b/lovelace/covers.yaml @@ -0,0 +1,19 @@ +- title: Tapparelle + id: covers + icon: mdi:window-closed + badges: + - sensor.tapparella_cucina + - sensor.tapparella_sala + - sensor.tapparella_studio + - sensor.tapparella_camera + + cards: + - type: entities + title: Comandi tapparelle + show_header_toggle: false + entities: + - cover.all_covers + - cover.tapparella_cucina + - cover.tapparella_sala + - cover.tapparella_studio + - cover.tapparella_camera \ No newline at end of file diff --git a/lovelace/default.yaml b/lovelace/default.yaml new file mode 100644 index 00000000..9687fc1d --- /dev/null +++ b/lovelace/default.yaml @@ -0,0 +1,61 @@ +- title: Principale + id: main + #icon: mdi:home-assistant + icon: mdi:home + badges: + - device_tracker.google_maps_115265981849847357125 + - device_tracker.google_maps_103158638433668748797 + - binary_sensor.home_mode + - binary_sensor.speech_notifications + - binary_sensor.text_notifications + + cards: + - type: picture-glance + title: Cucina + show_state: false + image: /local/rooms/cucina.jpg + entities: + - cover.tapparella_cucina + - climate.cucina_termostato_cucina + - media_player.google_home + + - type: picture-glance + title: Sala + show_state: true + image: /local/rooms/sala.jpg + entities: + - cover.tapparella_sala + - climate.sala_termostato_sala +# - media_player.roku_yd00dm481414 +# - media_player.ue46c7000_samsung_dtv_rcr + + - type: picture-glance + title: Bagno + show_state: true + image: /local/rooms/bagno.jpg + entities: + - climate.bagno_termostato_bagno + + - type: picture-glance + title: Studio + show_state: true + image: /local/rooms/studio.jpg + entities: + - cover.tapparella_studio + - climate.studio_termostato_studio + + - type: picture-glance + title: Camera + show_state: true + image: /local/rooms/camera.jpg + entities: + - cover.tapparella_camera + - climate.camera_termostato_camera + + - type: entities + title: Modalità Casa + show_header_toggle: false + entities: + - input_boolean.home_mode_day + - input_boolean.home_mode_night + - input_boolean.home_mode_away diff --git a/lovelace/network.yaml b/lovelace/network.yaml new file mode 100644 index 00000000..b7a661ec --- /dev/null +++ b/lovelace/network.yaml @@ -0,0 +1,16 @@ +- title: Dispositivi di Rete + id: network + icon: mdi:lan + cards: + - type: glance + title: Speed Test + entities: + - sensor.speedtest_ping + - sensor.speedtest_download + - sensor.speedtest_upload + + - type: glance + title: pfSense + entities: + - sensor.freebsd_router_kbyte_sec_received + - sensor.freebsd_router_kbyte_sec_sent \ No newline at end of file diff --git a/lovelace/settings.yaml b/lovelace/settings.yaml new file mode 100644 index 00000000..10821a71 --- /dev/null +++ b/lovelace/settings.yaml @@ -0,0 +1,18 @@ +- title: Configurazione + id: climate + icon: mdi:settings + badges: + - binary_sensor.home_mode + - binary_sensor.speech_notifications + - binary_sensor.text_notifications + + cards: + - type: glance + title: Automazioni + entities: + - group.all_automations + + - type: glance + title: Configurazione Notifiche + entities: + - group.ha_settings diff --git a/ui-lovelace.yaml b/ui-lovelace.yaml new file mode 100644 index 00000000..4ec6c74d --- /dev/null +++ b/ui-lovelace.yaml @@ -0,0 +1,2 @@ +title: Casa Ravera-Testa +views: !include_dir_merge_list lovelace/