From 3fc5367f4f157cc2ae82431337356352d6c51df2 Mon Sep 17 00:00:00 2001 From: Giorgio Ravera Date: Thu, 21 May 2020 20:25:08 +0200 Subject: [PATCH] starting migration lovelace from yaml to config --- .storage/lovelace.lovelace_multimedia | 1313 +++++++++++++++++ .storage/lovelace.lovelace_settings | 237 +++ .storage/lovelace_dashboards | 26 + lovelace.yaml | 30 +- ...imedia.yaml => ui-multimedia.yaml.disabled | 18 +- ui-settings.yaml => ui-settings.yaml.disabled | 0 6 files changed, 1600 insertions(+), 24 deletions(-) create mode 100644 .storage/lovelace.lovelace_multimedia create mode 100644 .storage/lovelace.lovelace_settings create mode 100644 .storage/lovelace_dashboards rename ui-multimedia.yaml => ui-multimedia.yaml.disabled (99%) rename ui-settings.yaml => ui-settings.yaml.disabled (100%) diff --git a/.storage/lovelace.lovelace_multimedia b/.storage/lovelace.lovelace_multimedia new file mode 100644 index 00000000..af4ad294 --- /dev/null +++ b/.storage/lovelace.lovelace_multimedia @@ -0,0 +1,1313 @@ +{ + "data": { + "config": { + "title": "Multimedia", + "views": [ + { + "badges": [], + "cards": [ + { + "cards": [ + { + "cards": [ + { + "color": "rgb(46, 46, 46)", + "color_type": "label-card", + "name": "Sony KD-55XF8596", + "style": [ + { + "background-color": "rgb(46, 46, 46)" + }, + { + "color": "white" + } + ], + "type": "custom:button-card" + } + ], + "type": "horizontal-stack" + }, + { + "cards": [ + { + "color": "rgb(46, 46, 46)", + "color_type": "label-card", + "icon": "mdi:television", + "size": "20%", + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_input" + }, + "type": "custom:button-card" + }, + { + "color": "rgb(46, 46, 46)", + "color_type": "label-card", + "icon": "mdi:microphone", + "size": "20%", + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_assists" + }, + "type": "custom:button-card" + }, + { + "entity": "media_player.sony_bravia_tv", + "icon": "mdi:power", + "show_name": false, + "show_state": false, + "size": "20%", + "state": [ + { + "color": "red", + "value": "off" + }, + { + "color": "green", + "value": "on" + } + ], + "tap_action": { + "action": "call-service", + "service": "script.turn_on", + "service_data": { + "entity_id": "script.tv_sala_toggle" + } + }, + "type": "custom:button-card" + } + ], + "type": "horizontal-stack" + }, + { + "cards": [ + { + "elements": [ + { + "image": "/local/images/remote/labels/digital_analog.png", + "style": { + "left": "16%", + "top": "30%", + "width": "16%" + }, + "tap_action": { + "action": "none" + }, + "type": "image" + }, + { + "image": "/local/images/remote/black_button.png", + "style": { + "left": "15%", + "top": "65%", + "width": "15%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_digital" + }, + "type": "image" + }, + { + "image": "/local/images/remote/labels/tv_radio.png", + "style": { + "left": "38%", + "top": "30%", + "width": "16%" + }, + "tap_action": { + "action": "none" + }, + "type": "image" + }, + { + "image": "/local/images/remote/black_button.png", + "style": { + "left": "38%", + "top": "65%", + "width": "15%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_tv_radio" + }, + "type": "image" + }, + { + "image": "/local/images/remote/labels/exit.png", + "style": { + "left": "62%", + "top": "30%", + "width": "16%" + }, + "tap_action": { + "action": "none" + }, + "type": "image" + }, + { + "image": "/local/images/remote/black_button.png", + "style": { + "left": "62%", + "top": "65%", + "width": "15%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_exit" + }, + "type": "image" + }, + { + "image": "/local/images/remote/labels/ext_box_menu.png", + "style": { + "left": "85%", + "top": "30%", + "width": "16%" + }, + "tap_action": { + "action": "none" + }, + "type": "image" + }, + { + "image": "/local/images/remote/black_button.png", + "style": { + "left": "85%", + "top": "65%", + "width": "15%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_exit" + }, + "type": "image" + } + ], + "image": "/local/images/remote/backgrounds/bg_app_top.png", + "type": "picture-elements" + } + ], + "type": "horizontal-stack" + }, + { + "cards": [ + { + "color": "rgb(46, 46, 46)", + "color_type": "label-card", + "name": "1 ./", + "show_icon": false, + "style": [ + { + "font-size": "12px" + } + ], + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_num1" + }, + "type": "custom:button-card" + }, + { + "color": "rgb(46, 46, 46)", + "color_type": "label-card", + "name": "2 abc", + "show_icon": false, + "style": [ + { + "font-size": "7px" + } + ], + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_num2" + }, + "type": "custom:button-card" + }, + { + "color": "rgb(46, 46, 46)", + "color_type": "label-card", + "name": "3 def", + "show_icon": false, + "style": [ + { + "font-size": "12px" + } + ], + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_num3" + }, + "type": "custom:button-card" + } + ], + "type": "horizontal-stack" + }, + { + "cards": [ + { + "color": "rgb(46, 46, 46)", + "color_type": "label-card", + "name": "4 ghi", + "show_icon": false, + "style": [ + { + "font-size": "12px" + } + ], + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_num4" + }, + "type": "custom:button-card" + }, + { + "color": "rgb(46, 46, 46)", + "color_type": "label-card", + "name": "5 jkl", + "show_icon": false, + "style": [ + { + "font-size": "12px" + } + ], + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_num5" + }, + "type": "custom:button-card" + }, + { + "color": "rgb(46, 46, 46)", + "color_type": "label-card", + "name": "6 mno", + "show_icon": false, + "style": [ + { + "font-size": "12px" + } + ], + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_num6" + }, + "type": "custom:button-card" + } + ], + "type": "horizontal-stack" + }, + { + "cards": [ + { + "color": "rgb(46, 46, 46)", + "color_type": "label-card", + "name": "7 pqrs", + "show_icon": false, + "style": [ + { + "font-size": "12px" + } + ], + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_num7" + }, + "type": "custom:button-card" + }, + { + "color": "rgb(46, 46, 46)", + "color_type": "label-card", + "name": "8 tuv", + "show_icon": false, + "style": [ + { + "font-size": "12px" + } + ], + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_num8" + }, + "type": "custom:button-card" + }, + { + "color": "rgb(46, 46, 46)", + "color_type": "label-card", + "name": "9 wyz", + "show_icon": false, + "style": [ + { + "font-size": "12px" + } + ], + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_num9" + }, + "type": "custom:button-card" + } + ], + "type": "horizontal-stack" + }, + { + "cards": [ + { + "color": "rgb(46, 46, 46)", + "color_type": "label-card", + "name": "?", + "show_icon": false, + "style": [ + { + "font-size": "12px" + } + ], + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_display" + }, + "type": "custom:button-card" + }, + { + "color": "rgb(46, 46, 46)", + "color_type": "label-card", + "name": "0", + "show_icon": false, + "style": [ + { + "font-size": "12px" + } + ], + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_num0" + }, + "type": "custom:button-card" + }, + { + "color": "rgb(46, 46, 46)", + "color_type": "label-card", + "icon": "mdi:card-text-outline", + "size": "12%", + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_teletext" + }, + "type": "custom:button-card" + } + ], + "type": "horizontal-stack" + }, + { + "cards": [ + { + "elements": [ + { + "image": "/local/images/remote/google_play.png", + "style": { + "left": "25%", + "top": "50%", + "width": "35%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_googleplay" + }, + "type": "image" + }, + { + "image": "/local/images/remote/netflix.png", + "style": { + "left": "75%", + "top": "50%", + "width": "35%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_netflix" + }, + "type": "image" + } + ], + "image": "/local/images/remote/backgrounds/bg_app.png", + "type": "picture-elements" + } + ], + "type": "horizontal-stack" + }, + { + "cards": [ + { + "elements": [ + { + "image": "/local/images/remote/red_button.png", + "style": { + "left": "15%", + "top": "50%", + "width": "15%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_red" + }, + "type": "image" + }, + { + "image": "/local/images/remote/green_button.png", + "style": { + "left": "38%", + "top": "50%", + "width": "15%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_green" + }, + "type": "image" + }, + { + "image": "/local/images/remote/yellow_button.png", + "style": { + "left": "62%", + "top": "50%", + "width": "15%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_yellow" + }, + "type": "image" + }, + { + "image": "/local/images/remote/blue_button.png", + "style": { + "left": "85%", + "top": "50%", + "width": "15%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_blue" + }, + "type": "image" + } + ], + "image": "/local/images/remote/backgrounds/bg_app.png", + "type": "picture-elements" + } + ], + "type": "horizontal-stack" + }, + { + "cards": [ + { + "elements": [ + { + "image": "/local/images/remote/confirm.png", + "style": { + "left": "50%", + "top": "50%", + "width": "10%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_confirm" + }, + "type": "image" + }, + { + "image": "/local/images/remote/arrow_left.png", + "style": { + "left": "27%", + "top": "50%", + "width": "15%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_left" + }, + "type": "image" + }, + { + "image": "/local/images/remote/arrow_right.png", + "style": { + "left": "73%", + "top": "50%", + "width": "15%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_right" + }, + "type": "image" + }, + { + "image": "/local/images/remote/arrow_up.png", + "style": { + "left": "50%", + "top": "23%", + "width": "15%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_up" + }, + "type": "image" + }, + { + "image": "/local/images/remote/arrow_down.png", + "style": { + "left": "50%", + "top": "77%", + "width": "15%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_down" + }, + "type": "image" + }, + { + "image": "/local/images/remote/labels/action_menu.png", + "style": { + "left": "50%", + "top": "6%", + "width": "45%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_actionmenu" + }, + "type": "image" + }, + { + "image": "/local/images/remote/labels/guide.png", + "style": { + "left": "13%", + "top": "23%", + "width": "20%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_gguide" + }, + "type": "image" + }, + { + "image": "/local/images/remote/labels/apps.png", + "style": { + "left": "87%", + "top": "23%", + "width": "20%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_applicationlauncher" + }, + "type": "image" + }, + { + "image": "/local/images/remote/labels/back.png", + "style": { + "left": "13%", + "top": "77%", + "width": "20%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_return" + }, + "type": "image" + }, + { + "image": "/local/images/remote/labels/home.png", + "style": { + "left": "87%", + "top": "77%", + "width": "20%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_home" + }, + "type": "image" + }, + { + "image": "/local/images/remote/labels/tv.png", + "style": { + "left": "50%", + "top": "94%", + "width": "20%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_tv" + }, + "type": "image" + } + ], + "image": "/local/images/remote/backgrounds/dpad.png", + "type": "picture-elements" + } + ], + "type": "horizontal-stack" + }, + { + "cards": [ + { + "elements": [ + { + "icon": "mdi:repeat", + "style": { + "--iron-icon-height": "16%", + "--iron-icon-width": "16%", + "color": "white", + "left": "50%", + "top": "34%" + }, + "tap_action": { + "action": "none" + }, + "type": "icon" + }, + { + "image": "/local/images/remote/black_button.png", + "style": { + "left": "50%", + "top": "46%", + "width": "15%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_jump" + }, + "type": "image" + }, + { + "icon": "mdi:volume-mute", + "style": { + "--iron-icon-height": "16%", + "--iron-icon-width": "16%", + "color": "white", + "left": "50%", + "top": "64%" + }, + "tap_action": { + "action": "none" + }, + "type": "icon" + }, + { + "image": "/local/images/remote/black_button.png", + "style": { + "left": "50%", + "top": "76%", + "width": "15%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_mute" + }, + "type": "image" + }, + { + "image": "/local/images/remote/labels/volume.png", + "style": { + "left": "20%", + "top": "15%", + "width": "20%" + }, + "tap_action": { + "action": "none" + }, + "type": "image" + }, + { + "image": "/local/images/remote/chngbtn.png", + "style": { + "left": "20%", + "top": "60%", + "width": "15%" + }, + "type": "image" + }, + { + "image": "/local/images/remote/plus.png", + "style": { + "left": "20%", + "top": "40%", + "width": "10%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_volumeup" + }, + "type": "image" + }, + { + "image": "/local/images/remote/minus.png", + "style": { + "left": "20%", + "top": "80%", + "width": "10%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_volumedown" + }, + "type": "image" + }, + { + "image": "/local/images/remote/labels/prog.png", + "style": { + "left": "80%", + "top": "15%", + "width": "20%" + }, + "tap_action": { + "action": "none" + }, + "type": "image" + }, + { + "image": "/local/images/remote/chngbtn.png", + "style": { + "left": "80%", + "top": "60%", + "width": "15%" + }, + "tap_action": { + "action": "call-service" + }, + "type": "image" + }, + { + "image": "/local/images/remote/plus.png", + "style": { + "left": "80%", + "top": "40%", + "width": "10%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_channelup" + }, + "type": "image" + }, + { + "image": "/local/images/remote/minus.png", + "style": { + "left": "80%", + "top": "80%", + "width": "10%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_channeldown" + }, + "type": "image" + } + ], + "image": "/local/images/remote/backgrounds/bg_volume.png", + "type": "picture-elements" + } + ], + "type": "horizontal-stack" + }, + { + "cards": [ + { + "elements": [ + { + "image": "/local/images/remote/labels/audio.png", + "style": { + "left": "15%", + "top": "10%", + "width": "16%" + }, + "tap_action": { + "action": "none" + }, + "type": "image" + }, + { + "image": "/local/images/remote/black_button.png", + "style": { + "left": "15%", + "top": "25%", + "width": "15%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_audio" + }, + "type": "image" + }, + { + "image": "/local/images/remote/black_button.png", + "style": { + "left": "38%", + "top": "25%", + "width": "15%" + }, + "tap_action": { + "action": "none" + }, + "type": "image" + }, + { + "icon": "mdi:rewind", + "style": { + "--iron-icon-height": "16%", + "--iron-icon-width": "16%", + "color": "white", + "left": "38%", + "top": "25%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_rewind" + }, + "type": "icon" + }, + { + "image": "/local/images/remote/black_button.png", + "style": { + "left": "62%", + "top": "25%", + "width": "15%" + }, + "tap_action": { + "action": "none" + }, + "type": "image" + }, + { + "icon": "mdi:play", + "style": { + "--iron-icon-height": "24%", + "--iron-icon-width": "24%", + "color": "white", + "left": "62%", + "top": "25%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_play" + }, + "type": "icon" + }, + { + "image": "/local/images/remote/black_button.png", + "style": { + "left": "85%", + "top": "25%", + "width": "15%" + }, + "tap_action": { + "action": "none" + }, + "type": "image" + }, + { + "icon": "mdi:fast-forward", + "style": { + "--iron-icon-height": "60%", + "--iron-icon-width": "60%", + "color": "white", + "left": "85%", + "top": "25%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_forward" + }, + "type": "icon" + }, + { + "image": "/local/images/remote/black_button.png", + "style": { + "left": "15%", + "top": "50%", + "width": "15%" + }, + "tap_action": { + "action": "none" + }, + "type": "image" + }, + { + "icon": "mdi:subtitles-outline", + "style": { + "--iron-icon-height": "9%", + "--iron-icon-width": "9%", + "color": "white", + "left": "42%", + "top": "50%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_subtitle" + }, + "type": "icon" + }, + { + "image": "/local/images/remote/black_button.png", + "style": { + "left": "38%", + "top": "50%", + "width": "15%" + }, + "tap_action": { + "action": "none" + }, + "type": "image" + }, + { + "icon": "mdi:skip-backward", + "style": { + "--iron-icon-height": "15%", + "--iron-icon-width": "15%", + "color": "white", + "left": "38%", + "top": "50%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_prev" + }, + "type": "icon" + }, + { + "image": "/local/images/remote/black_button.png", + "style": { + "left": "62%", + "top": "50%", + "width": "15%" + }, + "tap_action": { + "action": "none" + }, + "type": "image" + }, + { + "icon": "mdi:pause", + "style": { + "--iron-icon-height": "24%", + "--iron-icon-width": "24%", + "color": "white", + "left": "62%", + "top": "50%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_pause" + }, + "type": "icon" + }, + { + "image": "/local/images/remote/black_button.png", + "style": { + "left": "85%", + "top": "50%", + "width": "15%" + }, + "tap_action": { + "action": "none" + }, + "type": "image" + }, + { + "icon": "mdi:skip-forward", + "style": { + "--iron-icon-height": "55%", + "--iron-icon-width": "55%", + "color": "white", + "left": "85%", + "top": "50%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_next" + }, + "type": "icon" + }, + { + "image": "/local/images/remote/labels/help.png", + "style": { + "left": "15%", + "top": "60%", + "width": "16%" + }, + "tap_action": { + "action": "none" + }, + "type": "image" + }, + { + "image": "/local/images/remote/black_button.png", + "style": { + "left": "15%", + "top": "75%", + "width": "15%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_help" + }, + "type": "image" + }, + { + "image": "/local/images/remote/labels/rec.png", + "style": { + "left": "38%", + "top": "60%", + "width": "16%" + }, + "type": "image" + }, + { + "image": "/local/images/remote/black_button.png", + "style": { + "left": "38%", + "top": "75%", + "width": "15%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_rec" + }, + "type": "image" + }, + { + "image": "/local/images/remote/labels/rec_button.png", + "style": { + "left": "38%", + "top": "75%", + "width": "5%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_rec" + }, + "type": "image" + }, + { + "image": "/local/images/remote/black_button.png", + "style": { + "left": "62%", + "top": "75%", + "width": "15%" + }, + "tap_action": { + "action": "none" + }, + "type": "image" + }, + { + "icon": "mdi:stop", + "style": { + "--iron-icon-height": "24%", + "--iron-icon-width": "24%", + "color": "white", + "left": "62%", + "top": "75%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_stop" + }, + "type": "icon" + }, + { + "image": "/local/images/remote/labels/title_list.png", + "style": { + "left": "85%", + "top": "60%", + "width": "16%" + }, + "type": "image" + }, + { + "image": "/local/images/remote/black_button.png", + "style": { + "left": "85%", + "top": "75%", + "width": "15%" + }, + "tap_action": { + "action": "call-service", + "service": "shell_command.bravia_forward" + }, + "type": "image" + } + ], + "image": "/local/images/remote/backgrounds/bg_volume.png", + "type": "picture-elements" + } + ], + "type": "horizontal-stack" + }, + { + "cards": [ + { + "color": "rgb(46, 46, 46)", + "color_type": "label-card", + "name": "S O N Y", + "style": [ + { + "background-color": "rgb(46, 46, 46)" + }, + { + "color": "white" + } + ], + "type": "custom:button-card" + } + ], + "type": "horizontal-stack" + }, + { + "cards": [ + { + "color": "rgb(46, 46, 46)", + "color_type": "label-card", + "name": "TV", + "style": [ + { + "background-color": "rgb(46, 46, 46)" + }, + { + "color": "white" + } + ], + "type": "custom:button-card" + } + ], + "type": "horizontal-stack" + } + ], + "title": "TV Sala", + "type": "vertical-stack" + }, + { + "cards": [ + { + "entity": "media_player.sony_bravia_tv", + "type": "media-control" + } + ], + "title": "TV Sala", + "type": "vertical-stack" + }, + { + "cards": [ + { + "entities": [ + "media_player.google_home", + "input_text.google_home_speak" + ], + "show_header_toggle": false, + "title": "Google Mini Home Cucina", + "type": "entities" + }, + { + "cards": [ + { + "entity": "script.laura_voice", + "icon": "mdi:numeric-1", + "name": "Affare", + "tap_action": { + "action": "call-service", + "service": "script.turn_on", + "service_data": { + "entity_id": "script.laura_voice_1" + } + }, + "type": "entity-button" + }, + { + "entity": "script.laura_voice", + "icon": "mdi:numeric-2", + "name": "Belan", + "tap_action": { + "action": "call-service", + "service": "script.turn_on", + "service_data": { + "entity_id": "script.laura_voice_2" + } + }, + "type": "entity-button" + }, + { + "entity": "script.laura_voice", + "icon": "mdi:numeric-3", + "name": "Schifezza", + "tap_action": { + "action": "call-service", + "service": "script.turn_on", + "service_data": { + "entity_id": "script.laura_voice_3" + } + }, + "type": "entity-button" + }, + { + "entity": "script.laura_voice", + "icon": "mdi:numeric-4", + "name": "Che Schifo \u00e8?", + "tap_action": { + "action": "call-service", + "service": "script.turn_on", + "service_data": { + "entity_id": "script.laura_voice_4" + } + }, + "type": "entity-button" + } + ], + "type": "horizontal-stack" + }, + { + "cards": [ + { + "entity": "script.babu_voice", + "icon": "mdi:numeric-1", + "name": "I'm Babu", + "tap_action": { + "action": "call-service", + "service": "script.turn_on", + "service_data": { + "entity_id": "script.babu_voice_1" + } + }, + "type": "entity-button" + }, + { + "entity": "script.babu_voice", + "icon": "mdi:numeric-2", + "name": "Heheeeee", + "tap_action": { + "action": "call-service", + "service": "script.turn_on", + "service_data": { + "entity_id": "script.babu_voice_2" + } + }, + "type": "entity-button" + } + ], + "type": "horizontal-stack" + } + ], + "title": "Google Home Mini", + "type": "vertical-stack" + } + ], + "icon": "mdi:television" + } + ] + } + }, + "key": "lovelace.lovelace_multimedia", + "version": 1 +} \ No newline at end of file diff --git a/.storage/lovelace.lovelace_settings b/.storage/lovelace.lovelace_settings new file mode 100644 index 00000000..c8e1ed8b --- /dev/null +++ b/.storage/lovelace.lovelace_settings @@ -0,0 +1,237 @@ +{ + "data": { + "config": { + "title": "Sistema Home Assistant", + "views": [ + { + "badges": [ + { + "entity": "binary_sensor.home_mode" + }, + { + "entity": "binary_sensor.guard_mode" + }, + { + "entity": "binary_sensor.speech_notifications" + }, + { + "entity": "binary_sensor.text_notifications" + } + ], + "cards": [ + { + "cards": [ + { + "entities": [ + "automation.startup_restart_on_error", + "automation.startup_google_sync", + "automation.risveglio_giorgio" + ], + "show_header_toggle": false, + "title": "Automazioni", + "type": "entities" + }, + { + "entities": [ + "input_boolean.speech_notifications", + "input_boolean.text_notifications" + ], + "show_header_toggle": false, + "title": "Configurazione Notifiche", + "type": "entities" + } + ], + "type": "vertical-stack" + }, + { + "cards": [ + { + "entities": [ + "script.homeassistant_restart", + "script.homeassistant_reload_scripts", + "script.homeassistant_reload_automations", + "script.homeassistant_clearlog", + "script.homeassistant_google_home_sync", + "input_boolean.test_mode" + ], + "show_header_toggle": false, + "title": "Controlli", + "type": "entities" + }, + { + "entities": [ + "script.shelly_upgrade", + "script.shelly_reboot" + ], + "show_header_toggle": false, + "title": "Operazione sui Dispositivi", + "type": "entities" + } + ], + "type": "vertical-stack" + }, + { + "cards": [ + { + "entities": [ + "sensor.home_assistant_current_version", + "sensor.zigbee2mqtt_versione_bridge", + "sensor.zigbee2mqtt_versione_coordinator", + "sensor.cert_expiry_server_giorgioravera_it", + "input_boolean.update" + ], + "show_header_toggle": false, + "title": "Informazioni Varie", + "type": "entities" + } + ], + "type": "vertical-stack" + } + ], + "icon": "mdi:settings", + "title": "Configurazione" + }, + { + "badges": [], + "cards": [ + { + "cards": [ + { + "entities": [ + "sensor.ip_1", + "sensor.ip_2" + ], + "title": "External IP", + "type": "glance" + }, + { + "entities": [ + "sensor.speedtest_ping", + "sensor.speedtest_download", + "sensor.speedtest_upload" + ], + "title": "Speed Test", + "type": "glance" + }, + { + "entities": [ + "sensor.freebsd_router_kib_s_received", + "sensor.freebsd_router_kib_s_sent" + ], + "title": "pfSense", + "type": "glance" + } + ], + "type": "vertical-stack" + }, + { + "cards": [ + { + "entities": [ + "switch.nas", + "script.plex_start", + "script.plex_stop" + ], + "show_header_toggle": false, + "title": "Nas", + "type": "entities" + } + ], + "type": "vertical-stack" + } + ], + "icon": "mdi:lan", + "title": "Dispositivi di Rete" + }, + { + "badges": [], + "cards": [ + { + "entities": [ + "sensor.zigbee2mqtt_stato_bridge", + "sensor.zigbee2mqtt_stato_permit_join", + "sensor.zigbee2mqtt_stato_log_level", + "sensor.zigbee2mqtt_versione_bridge", + "sensor.zigbee2mqtt_versione_coordinator" + ], + "show_header_toggle": false, + "title": "Stato Sistema Zigbee2mqtt", + "type": "entities" + }, + { + "entities": [ + "switch.zigbee2mqtt_abilita_join", + { + "entity": "timer.zigbee_permit_join" + }, + { + "type": "divider" + }, + { + "entity": "input_text.zigbee2mqtt_old_name" + }, + { + "entity": "input_text.zigbee2mqtt_new_name" + }, + { + "entity": "script.zigbee2mqtt_rename" + }, + { + "type": "divider" + }, + { + "entity": "input_text.zigbee2mqtt_remove" + }, + { + "entity": "script.zigbee2mqtt_remove" + }, + { + "type": "divider" + }, + "input_select.zigbee2mqtt_log_level" + ], + "show_header_toggle": false, + "title": "Operazioni Sistema Zigbee2mqtt", + "type": "entities" + }, + { + "entities": [ + { + "entity": "sensor.main_door_battery", + "type": "custom:battery-entity" + }, + { + "entity": "sensor.spare_door_battery", + "type": "custom:battery-entity" + }, + { + "entity": "sensor.wireless_switch_battery", + "type": "custom:battery-entity" + } + ], + "show_header_toggle": false, + "title": "Stato Batteria ZigBee Devices", + "type": "entities" + }, + { + "css": ":host {\n --zigbee2mqtt-networkmap-node-color: rgba(18, 120, 98, .7);\n --zigbee2mqtt-networkmap-node-fill-color: #dcfaf3;\n --zigbee2mqtt-networkmap-node-pinned-color: rgba(190, 56, 93, .6);\n --zigbee2mqtt-networkmap-link-color: rgba(18, 120, 98, .5);\n --zigbee2mqtt-networkmap-hover-color: #be385d;\n --zigbee2mqtt-networkmap-link-selected-color: rgba(202, 164, 85, .6);\n --zigbee2mqtt-networkmap-label-color: #127862;\n --zigbee2mqtt-networkmap-arrow-color: rgba(18, 120, 98, 0.7);\n --zigbee2mqtt-networkmap-node-coordinator-color: rgba(224, 78, 93, .7);\n --zigbee2mqtt-networkmap-node-router-color: rgba(0, 165, 255, .7);\n}\n", + "entity": "sensor.zigbee2mqtt_networkmap", + "font_size": 12, + "force": 3000, + "height": 400, + "link_width": 2, + "mqtt_base_topic": "zigbee2mqtt", + "node_size": 16, + "title": "Zigbee2mqtt Network Map", + "type": "custom:zigbee2mqtt-networkmap" + } + ], + "icon": "mdi:zigbee", + "title": "Zigbee" + } + ] + } + }, + "key": "lovelace.lovelace_test", + "version": 1 +} \ No newline at end of file diff --git a/.storage/lovelace_dashboards b/.storage/lovelace_dashboards new file mode 100644 index 00000000..07c4edf0 --- /dev/null +++ b/.storage/lovelace_dashboards @@ -0,0 +1,26 @@ +{ + "data": { + "items": [ + { + "icon": "mdi:television", + "id": "lovelace_multimedia", + "mode": "storage", + "require_admin": false, + "show_in_sidebar": true, + "title": "Multimedia", + "url_path": "lovelace-media" + }, + { + "icon": "mdi:settings", + "id": "lovelace_settings", + "mode": "storage", + "require_admin": true, + "show_in_sidebar": true, + "title": "Sistema", + "url_path": "lovelace-test" + } + ] + }, + "key": "lovelace_dashboards", + "version": 1 +} \ No newline at end of file diff --git a/lovelace.yaml b/lovelace.yaml index b2a1f813..8f1101bc 100644 --- a/lovelace.yaml +++ b/lovelace.yaml @@ -16,18 +16,18 @@ resources: - url: /hacsfiles/zigbee2mqtt-networkmap/zigbee2mqtt-networkmap.js?v=0.6.0 type: module -dashboards: - lovelace-multimedia: - mode: yaml - filename: "ui-multimedia.yaml" - title: Multimedia - icon: mdi:television - show_in_sidebar: true - require_admin: false - lovelace-settings: - mode: yaml - filename: "ui-settings.yaml" - title: Sistema - icon: mdi:settings - show_in_sidebar: true - require_admin: true +#dashboards: +# lovelace-multimedia: +# mode: yaml +# filename: "ui-multimedia.yaml" +# title: Multimedia +# icon: mdi:television +# show_in_sidebar: true +# require_admin: false +# lovelace-settings: +# mode: yaml +# filename: "ui-settings.yaml" +# title: Sistema +# icon: mdi:settings +# show_in_sidebar: true +# require_admin: true diff --git a/ui-multimedia.yaml b/ui-multimedia.yaml.disabled similarity index 99% rename from ui-multimedia.yaml rename to ui-multimedia.yaml.disabled index 24088af6..b5907147 100644 --- a/ui-multimedia.yaml +++ b/ui-multimedia.yaml.disabled @@ -446,7 +446,7 @@ views: icon: mdi:repeat style: top: 34% - left: 65% + left: 50% color: white --iron-icon-height: 16% --iron-icon-width: 16% @@ -465,7 +465,7 @@ views: - type: icon icon: mdi:volume-mute style: - top: 64% + top: 50% left: 65% color: white --iron-icon-height: 16% @@ -587,7 +587,7 @@ views: icon: mdi:rewind style: top: 25% - left: 56% + left: 38% --iron-icon-height: 16% --iron-icon-width: 16% color: white @@ -607,7 +607,7 @@ views: icon: mdi:play style: top: 25% - left: 73% + left: 62% --iron-icon-height: 24% --iron-icon-width: 24% color: white @@ -627,7 +627,7 @@ views: icon: mdi:fast-forward style: top: 25% - left: 88% + left: 85% --iron-icon-height: 60% --iron-icon-width: 60% color: white @@ -668,7 +668,7 @@ views: icon: mdi:skip-backward style: top: 50% - left: 56% + left: 38% --iron-icon-height: 15% --iron-icon-width: 15% color: white @@ -688,7 +688,7 @@ views: icon: mdi:pause style: top: 50% - left: 73% + left: 62% --iron-icon-height: 24% --iron-icon-width: 24% color: white @@ -708,7 +708,7 @@ views: icon: mdi:skip-forward style: top: 50% - left: 88% + left: 85% --iron-icon-height: 55% --iron-icon-width: 55% color: white @@ -772,7 +772,7 @@ views: icon: mdi:stop style: top: 75% - left: 73% + left: 62% --iron-icon-height: 24% --iron-icon-width: 24% color: white diff --git a/ui-settings.yaml b/ui-settings.yaml.disabled similarity index 100% rename from ui-settings.yaml rename to ui-settings.yaml.disabled -- 2.47.3