From: Giorgio Ravera Date: Thu, 21 May 2020 18:25:08 +0000 (+0200) Subject: starting migration lovelace from yaml to config X-Git-Url: http://git.giorgioravera.it/?a=commitdiff_plain;h=3fc5367f4f157cc2ae82431337356352d6c51df2;p=homeassistant.git starting migration lovelace from yaml to config --- 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 deleted file mode 100644 index 24088af6..00000000 --- a/ui-multimedia.yaml +++ /dev/null @@ -1,903 +0,0 @@ -###################################################################### -# Lovelace UI Multimedia -###################################################################### - -title: Multimedia -background: var(--background-image) -views: -###################################################################### -# Multimedia -###################################################################### - - title: TV Sony - id: multimedia - icon: mdi:television - cards: - - type: vertical-stack - title: TV Sala - cards: - - type: horizontal-stack - cards: - - type: "custom:button-card" - color_type: label-card - color: rgb(46, 46, 46) - name: Sony KD-55XF8596 - style: - - background-color: rgb(46, 46, 46) - - color: white - # Top Botton - - type: horizontal-stack - cards: - - type: "custom:button-card" - icon: mdi:television - color_type: label-card - color: rgb(46, 46, 46) - size: 20% - tap_action: - action: call-service - service: shell_command.bravia_input - - type: "custom:button-card" - icon: mdi:microphone - color_type: label-card - color: rgb(46, 46, 46) - 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 - size: 20% - show_name: false - show_state: false - state: - - value: 'off' - color: red - - value: 'on' - color: green - tap_action: - action: call-service - service: script.turn_on - service_data: - entity_id: script.tv_sala_toggle - # Top Buttons 2 - - type: horizontal-stack - cards: - - type: picture-elements - image: /local/images/remote/backgrounds/bg_app_top.png - elements: - # Digital / Analog - - type: image - image: /local/images/remote/labels/digital_analog.png - style: - top: 30% - left: 16% - width: 16% - tap_action: - action: none - - type: image - image: /local/images/remote/black_button.png - style: - top: 65% - left: 15% - width: 15% - tap_action: - action: call-service - service: shell_command.bravia_digital - # TV / Radio - - type: image - image: /local/images/remote/labels/tv_radio.png - style: - top: 30% - left: 38% - width: 16% - tap_action: - action: none - - type: image - image: /local/images/remote/black_button.png - style: - top: 65% - left: 38% - width: 15% - tap_action: - action: call-service - service: shell_command.bravia_tv_radio - # Exit - - type: image - image: /local/images/remote/labels/exit.png - style: - top: 30% - left: 62% - width: 16% - tap_action: - action: none - - type: image - image: /local/images/remote/black_button.png - style: - top: 65% - left: 62% - width: 15% - tap_action: - action: call-service - service: shell_command.bravia_exit - # Ext.Box Menu - - type: image - image: /local/images/remote/labels/ext_box_menu.png - style: - top: 30% - left: 85% - width: 16% - tap_action: - action: none - - type: image - image: /local/images/remote/black_button.png - style: - top: 65% - left: 85% - width: 15% - tap_action: - action: call-service - service: shell_command.bravia_exit - # Numeric Button - - type: horizontal-stack - cards: - - type: "custom:button-card" - color_type: label-card - color: rgb(46, 46, 46) - name: '1 ./' - show_icon: false - style: - - font-size: 12px - tap_action: - action: call-service - service: shell_command.bravia_num1 - - type: "custom:button-card" - color_type: label-card - color: rgb(46, 46, 46) - 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_type: label-card - color: rgb(46, 46, 46) - name: '3 def' - show_icon: false - style: - - font-size: 12px - tap_action: - action: call-service - service: shell_command.bravia_num3 - - type: horizontal-stack - cards: - - type: "custom:button-card" - color_type: label-card - color: rgb(46, 46, 46) - 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_type: label-card - color: rgb(46, 46, 46) - 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_type: label-card - color: rgb(46, 46, 46) - name: '6 mno' - show_icon: false - style: - - font-size: 12px - tap_action: - action: call-service - service: shell_command.bravia_num6 - - type: horizontal-stack - cards: - - type: "custom:button-card" - color_type: label-card - color: rgb(46, 46, 46) - 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_type: label-card - color: rgb(46, 46, 46) - 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_type: label-card - color: rgb(46, 46, 46) - name: '9 wyz' - show_icon: false - style: - - font-size: 12px - tap_action: - action: call-service - service: shell_command.bravia_num9 - - type: horizontal-stack - cards: - - type: "custom:button-card" - color_type: label-card - color: rgb(46, 46, 46) - name: '?' - show_icon: false - style: - - font-size: 12px - tap_action: - action: call-service - service: shell_command.bravia_display - - type: "custom:button-card" - color_type: label-card - color: rgb(46, 46, 46) - name: '0' - show_icon: false - style: - - font-size: 12px - tap_action: - action: call-service - service: shell_command.bravia_num0 - - type: "custom:button-card" - icon: mdi:card-text-outline - color_type: label-card - color: rgb(46, 46, 46) - size: 12% - tap_action: - action: call-service - service: shell_command.bravia_teletext - # Google Play & Netflix - - type: horizontal-stack - cards: - - type: picture-elements - image: /local/images/remote/backgrounds/bg_app.png - elements: - - type: image - image: /local/images/remote/google_play.png - style: - top: 50% - left: 25% - width: 35% - tap_action: - action: call-service - service: shell_command.bravia_googleplay - - type: image - image: /local/images/remote/netflix.png - style: - top: 50% - left: 75% - width: 35% - tap_action: - action: call-service - service: shell_command.bravia_netflix - # Colored Buttons - - type: horizontal-stack - cards: - - type: picture-elements - image: /local/images/remote/backgrounds/bg_app.png - elements: - - type: image - image: /local/images/remote/red_button.png - style: - top: 50% - left: 15% - width: 15% - tap_action: - action: call-service - service: shell_command.bravia_red - - type: image - image: /local/images/remote/green_button.png - style: - top: 50% - left: 38% - width: 15% - tap_action: - action: call-service - service: shell_command.bravia_green - - type: image - image: /local/images/remote/yellow_button.png - style: - top: 50% - left: 62% - width: 15% - tap_action: - action: call-service - service: shell_command.bravia_yellow - - type: image - image: /local/images/remote/blue_button.png - style: - top: 50% - left: 85% - width: 15% - tap_action: - action: call-service - service: shell_command.bravia_blue - # Dpad buttons - - type: horizontal-stack - cards: - - type: picture-elements - image: /local/images/remote/backgrounds/dpad.png - elements: - - type: image - image: /local/images/remote/confirm.png - tap_action: - action: call-service - service: shell_command.bravia_confirm - style: - top: 50% - left: 50% - width: 10% - - type: image - image: /local/images/remote/arrow_left.png - tap_action: - action: call-service - service: shell_command.bravia_left - style: - top: 50% - left: 27% - width: 15% - - type: image - image: /local/images/remote/arrow_right.png - tap_action: - action: call-service - service: shell_command.bravia_right - style: - top: 50% - left: 73% - width: 15% - - type: image - image: /local/images/remote/arrow_up.png - tap_action: - action: call-service - service: shell_command.bravia_up - style: - top: 23% - left: 50% - width: 15% - - type: image - image: /local/images/remote/arrow_down.png - tap_action: - action: call-service - service: shell_command.bravia_down - style: - top: 77% - left: 50% - width: 15% - - type: image - image: /local/images/remote/labels/action_menu.png - tap_action: - action: call-service - service: shell_command.bravia_actionmenu - style: - top: 6% - left: 50% - width: 45% - - type: image - image: /local/images/remote/labels/guide.png - tap_action: - action: call-service - service: shell_command.bravia_gguide - style: - top: 23% - left: 13% - width: 20% - - type: image - image: /local/images/remote/labels/apps.png - tap_action: - action: call-service - service: shell_command.bravia_applicationlauncher - style: - top: 23% - left: 87% - width: 20% - - type: image - image: /local/images/remote/labels/back.png - tap_action: - action: call-service - service: shell_command.bravia_return - style: - top: 77% - left: 13% - width: 20% - - type: image - image: /local/images/remote/labels/home.png - tap_action: - action: call-service - service: shell_command.bravia_home - style: - top: 77% - left: 87% - width: 20% - - type: image - image: /local/images/remote/labels/tv.png - tap_action: - action: call-service - service: shell_command.bravia_tv - style: - top: 94% - left: 50% - width: 20% - # Volume & Channels Buttons - - type: horizontal-stack - cards: - - type: picture-elements - image: /local/images/remote/backgrounds/bg_volume.png - elements: - # Jump - - type: icon - icon: mdi:repeat - style: - top: 34% - left: 65% - color: white - --iron-icon-height: 16% - --iron-icon-width: 16% - tap_action: - action: none - - type: image - image: /local/images/remote/black_button.png - style: - top: 46% - left: 50% - width: 15% - tap_action: - action: call-service - service: shell_command.bravia_jump - # Volume Mute - - type: icon - icon: mdi:volume-mute - style: - top: 64% - left: 65% - color: white - --iron-icon-height: 16% - --iron-icon-width: 16% - tap_action: - action: none - - type: image - image: /local/images/remote/black_button.png - style: - top: 76% - left: 50% - width: 15% - tap_action: - action: call-service - service: shell_command.bravia_mute - # Volume Up/Down - - type: image - image: /local/images/remote/labels/volume.png - style: - top: 15% - left: 20% - width: 20% - tap_action: - action: none - - type: image - image: /local/images/remote/chngbtn.png - style: - top: 60% - left: 20% - width: 15% - - type: image - image: /local/images/remote/plus.png - style: - top: 40% - left: 20% - width: 10% - tap_action: - action: call-service - service: shell_command.bravia_volumeup - - type: image - image: /local/images/remote/minus.png - style: - top: 80% - left: 20% - width: 10% - tap_action: - action: call-service - service: shell_command.bravia_volumedown - # Channels Up/Down - - type: image - image: /local/images/remote/labels/prog.png - style: - top: 15% - left: 80% - width: 20% - tap_action: - action: none - - type: image - image: /local/images/remote/chngbtn.png - tap_action: - action: call-service - style: - top: 60% - left: 80% - width: 15% - - type: image - image: /local/images/remote/plus.png - style: - top: 40% - left: 80% - width: 10% - tap_action: - action: call-service - service: shell_command.bravia_channelup - - type: image - image: /local/images/remote/minus.png - style: - top: 80% - left: 80% - width: 10% - tap_action: - action: call-service - service: shell_command.bravia_channeldown - # Play Pause Block - - type: horizontal-stack - cards: - - type: picture-elements - image: /local/images/remote/backgrounds/bg_volume.png - elements: - # First Raw - # Audio - - type: image - image: /local/images/remote/labels/audio.png - style: - top: 10% - left: 15% - width: 16% - tap_action: - action: none - - type: image - image: /local/images/remote/black_button.png - style: - top: 25% - left: 15% - width: 15% - tap_action: - action: call-service - service: shell_command.bravia_audio - # Rewind - - type: image - image: /local/images/remote/black_button.png - style: - top: 25% - left: 38% - width: 15% - tap_action: - action: none - - type: icon - icon: mdi:rewind - style: - top: 25% - left: 56% - --iron-icon-height: 16% - --iron-icon-width: 16% - color: white - tap_action: - action: call-service - service: shell_command.bravia_rewind - # Play - - type: image - image: /local/images/remote/black_button.png - style: - top: 25% - left: 62% - width: 15% - tap_action: - action: none - - type: icon - icon: mdi:play - style: - top: 25% - left: 73% - --iron-icon-height: 24% - --iron-icon-width: 24% - color: white - tap_action: - action: call-service - service: shell_command.bravia_play - # Forward - - type: image - image: /local/images/remote/black_button.png - style: - top: 25% - left: 85% - width: 15% - tap_action: - action: none - - type: icon - icon: mdi:fast-forward - style: - top: 25% - left: 88% - --iron-icon-height: 60% - --iron-icon-width: 60% - color: white - tap_action: - action: call-service - service: shell_command.bravia_forward - # Second Raw - # Subtitles - - type: image - image: /local/images/remote/black_button.png - style: - top: 50% - left: 15% - width: 15% - tap_action: - action: none - - type: icon - icon: mdi:subtitles-outline - style: - top: 50% - left: 42% - --iron-icon-height: 9% - --iron-icon-width: 9% - color: white - tap_action: - action: call-service - service: shell_command.bravia_subtitle - # Prev - - type: image - image: /local/images/remote/black_button.png - style: - top: 50% - left: 38% - width: 15% - tap_action: - action: none - - type: icon - icon: mdi:skip-backward - style: - top: 50% - left: 56% - --iron-icon-height: 15% - --iron-icon-width: 15% - color: white - tap_action: - action: call-service - service: shell_command.bravia_prev - # Pause - - type: image - image: /local/images/remote/black_button.png - style: - top: 50% - left: 62% - width: 15% - tap_action: - action: none - - type: icon - icon: mdi:pause - style: - top: 50% - left: 73% - --iron-icon-height: 24% - --iron-icon-width: 24% - color: white - tap_action: - action: call-service - service: shell_command.bravia_pause - # Next - - type: image - image: /local/images/remote/black_button.png - style: - top: 50% - left: 85% - width: 15% - tap_action: - action: none - - type: icon - icon: mdi:skip-forward - style: - top: 50% - left: 88% - --iron-icon-height: 55% - --iron-icon-width: 55% - color: white - tap_action: - action: call-service - service: shell_command.bravia_next - # Third Raw - # Help - - type: image - image: /local/images/remote/labels/help.png - style: - top: 60% - left: 15% - width: 16% - tap_action: - action: none - - type: image - image: /local/images/remote/black_button.png - style: - top: 75% - left: 15% - width: 15% - tap_action: - action: call-service - service: shell_command.bravia_help - # Rec - - type: image - image: /local/images/remote/labels/rec.png - style: - top: 60% - left: 38% - width: 16% - - type: image - image: /local/images/remote/black_button.png - style: - top: 75% - left: 38% - width: 15% - tap_action: - action: call-service - service: shell_command.bravia_rec - - type: image - image: /local/images/remote/labels/rec_button.png - style: - top: 75% - left: 38% - width: 5% - tap_action: - action: call-service - service: shell_command.bravia_rec - # Stop - - type: image - image: /local/images/remote/black_button.png - style: - top: 75% - left: 62% - width: 15% - tap_action: - action: none - - type: icon - icon: mdi:stop - style: - top: 75% - left: 73% - --iron-icon-height: 24% - --iron-icon-width: 24% - color: white - tap_action: - action: call-service - service: shell_command.bravia_stop - # Title List - # GRGR - - type: image - image: /local/images/remote/labels/title_list.png - style: - top: 60% - left: 85% - width: 16% - - type: image - image: /local/images/remote/black_button.png - style: - top: 75% - left: 85% - width: 15% - tap_action: - action: call-service - service: shell_command.bravia_forward - - - type: horizontal-stack - cards: - - type: "custom:button-card" - color_type: label-card - color: rgb(46, 46, 46) - name: S O N Y - style: - - background-color: rgb(46, 46, 46) - - color: white - - type: horizontal-stack - cards: - - type: "custom:button-card" - color_type: label-card - color: rgb(46, 46, 46) - name: TV - style: - - background-color: rgb(46, 46, 46) - - color: white - - - type: vertical-stack - title: TV Sala - cards: - - type: media-control - entity: media_player.sony_bravia_tv - -###################################################################### -# Google Home -###################################################################### -# - title: Google Home -# id: settings -# icon: mdi:google -# panel: true -# cards: - # Google Home - - type: vertical-stack - title: Google Home Mini - cards: - - - type: entities - title: Google Mini Home Cucina - show_header_toggle: false - entities: - - media_player.google_home - - input_text.google_home_speak - - - type: horizontal-stack - cards: - - type: entity-button - name: Affare - icon: mdi:numeric-1 - entity: script.laura_voice - tap_action: - action: call-service - service: script.turn_on - service_data: - entity_id: script.laura_voice_1 - - type: entity-button - name: Belan - icon: mdi:numeric-2 - entity: script.laura_voice - tap_action: - action: call-service - service: script.turn_on - service_data: - entity_id: script.laura_voice_2 - - type: entity-button - name: Schifezza - icon: mdi:numeric-3 - entity: script.laura_voice - tap_action: - action: call-service - service: script.turn_on - service_data: - entity_id: script.laura_voice_3 - - type: entity-button - name: Che Schifo è? - icon: mdi:numeric-4 - entity: script.laura_voice - tap_action: - action: call-service - service: script.turn_on - service_data: - entity_id: script.laura_voice_4 - - - type: horizontal-stack - cards: - - type: entity-button - name: I'm Babu - icon: mdi:numeric-1 - entity: script.babu_voice - tap_action: - action: call-service - service: script.turn_on - service_data: - entity_id: script.babu_voice_1 - - type: entity-button - name: Heheeeee - icon: mdi:numeric-2 - entity: script.babu_voice - tap_action: - action: call-service - service: script.turn_on - service_data: - entity_id: script.babu_voice_2 diff --git a/ui-multimedia.yaml.disabled b/ui-multimedia.yaml.disabled new file mode 100644 index 00000000..b5907147 --- /dev/null +++ b/ui-multimedia.yaml.disabled @@ -0,0 +1,903 @@ +###################################################################### +# Lovelace UI Multimedia +###################################################################### + +title: Multimedia +background: var(--background-image) +views: +###################################################################### +# Multimedia +###################################################################### + - title: TV Sony + id: multimedia + icon: mdi:television + cards: + - type: vertical-stack + title: TV Sala + cards: + - type: horizontal-stack + cards: + - type: "custom:button-card" + color_type: label-card + color: rgb(46, 46, 46) + name: Sony KD-55XF8596 + style: + - background-color: rgb(46, 46, 46) + - color: white + # Top Botton + - type: horizontal-stack + cards: + - type: "custom:button-card" + icon: mdi:television + color_type: label-card + color: rgb(46, 46, 46) + size: 20% + tap_action: + action: call-service + service: shell_command.bravia_input + - type: "custom:button-card" + icon: mdi:microphone + color_type: label-card + color: rgb(46, 46, 46) + 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 + size: 20% + show_name: false + show_state: false + state: + - value: 'off' + color: red + - value: 'on' + color: green + tap_action: + action: call-service + service: script.turn_on + service_data: + entity_id: script.tv_sala_toggle + # Top Buttons 2 + - type: horizontal-stack + cards: + - type: picture-elements + image: /local/images/remote/backgrounds/bg_app_top.png + elements: + # Digital / Analog + - type: image + image: /local/images/remote/labels/digital_analog.png + style: + top: 30% + left: 16% + width: 16% + tap_action: + action: none + - type: image + image: /local/images/remote/black_button.png + style: + top: 65% + left: 15% + width: 15% + tap_action: + action: call-service + service: shell_command.bravia_digital + # TV / Radio + - type: image + image: /local/images/remote/labels/tv_radio.png + style: + top: 30% + left: 38% + width: 16% + tap_action: + action: none + - type: image + image: /local/images/remote/black_button.png + style: + top: 65% + left: 38% + width: 15% + tap_action: + action: call-service + service: shell_command.bravia_tv_radio + # Exit + - type: image + image: /local/images/remote/labels/exit.png + style: + top: 30% + left: 62% + width: 16% + tap_action: + action: none + - type: image + image: /local/images/remote/black_button.png + style: + top: 65% + left: 62% + width: 15% + tap_action: + action: call-service + service: shell_command.bravia_exit + # Ext.Box Menu + - type: image + image: /local/images/remote/labels/ext_box_menu.png + style: + top: 30% + left: 85% + width: 16% + tap_action: + action: none + - type: image + image: /local/images/remote/black_button.png + style: + top: 65% + left: 85% + width: 15% + tap_action: + action: call-service + service: shell_command.bravia_exit + # Numeric Button + - type: horizontal-stack + cards: + - type: "custom:button-card" + color_type: label-card + color: rgb(46, 46, 46) + name: '1 ./' + show_icon: false + style: + - font-size: 12px + tap_action: + action: call-service + service: shell_command.bravia_num1 + - type: "custom:button-card" + color_type: label-card + color: rgb(46, 46, 46) + 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_type: label-card + color: rgb(46, 46, 46) + name: '3 def' + show_icon: false + style: + - font-size: 12px + tap_action: + action: call-service + service: shell_command.bravia_num3 + - type: horizontal-stack + cards: + - type: "custom:button-card" + color_type: label-card + color: rgb(46, 46, 46) + 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_type: label-card + color: rgb(46, 46, 46) + 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_type: label-card + color: rgb(46, 46, 46) + name: '6 mno' + show_icon: false + style: + - font-size: 12px + tap_action: + action: call-service + service: shell_command.bravia_num6 + - type: horizontal-stack + cards: + - type: "custom:button-card" + color_type: label-card + color: rgb(46, 46, 46) + 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_type: label-card + color: rgb(46, 46, 46) + 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_type: label-card + color: rgb(46, 46, 46) + name: '9 wyz' + show_icon: false + style: + - font-size: 12px + tap_action: + action: call-service + service: shell_command.bravia_num9 + - type: horizontal-stack + cards: + - type: "custom:button-card" + color_type: label-card + color: rgb(46, 46, 46) + name: '?' + show_icon: false + style: + - font-size: 12px + tap_action: + action: call-service + service: shell_command.bravia_display + - type: "custom:button-card" + color_type: label-card + color: rgb(46, 46, 46) + name: '0' + show_icon: false + style: + - font-size: 12px + tap_action: + action: call-service + service: shell_command.bravia_num0 + - type: "custom:button-card" + icon: mdi:card-text-outline + color_type: label-card + color: rgb(46, 46, 46) + size: 12% + tap_action: + action: call-service + service: shell_command.bravia_teletext + # Google Play & Netflix + - type: horizontal-stack + cards: + - type: picture-elements + image: /local/images/remote/backgrounds/bg_app.png + elements: + - type: image + image: /local/images/remote/google_play.png + style: + top: 50% + left: 25% + width: 35% + tap_action: + action: call-service + service: shell_command.bravia_googleplay + - type: image + image: /local/images/remote/netflix.png + style: + top: 50% + left: 75% + width: 35% + tap_action: + action: call-service + service: shell_command.bravia_netflix + # Colored Buttons + - type: horizontal-stack + cards: + - type: picture-elements + image: /local/images/remote/backgrounds/bg_app.png + elements: + - type: image + image: /local/images/remote/red_button.png + style: + top: 50% + left: 15% + width: 15% + tap_action: + action: call-service + service: shell_command.bravia_red + - type: image + image: /local/images/remote/green_button.png + style: + top: 50% + left: 38% + width: 15% + tap_action: + action: call-service + service: shell_command.bravia_green + - type: image + image: /local/images/remote/yellow_button.png + style: + top: 50% + left: 62% + width: 15% + tap_action: + action: call-service + service: shell_command.bravia_yellow + - type: image + image: /local/images/remote/blue_button.png + style: + top: 50% + left: 85% + width: 15% + tap_action: + action: call-service + service: shell_command.bravia_blue + # Dpad buttons + - type: horizontal-stack + cards: + - type: picture-elements + image: /local/images/remote/backgrounds/dpad.png + elements: + - type: image + image: /local/images/remote/confirm.png + tap_action: + action: call-service + service: shell_command.bravia_confirm + style: + top: 50% + left: 50% + width: 10% + - type: image + image: /local/images/remote/arrow_left.png + tap_action: + action: call-service + service: shell_command.bravia_left + style: + top: 50% + left: 27% + width: 15% + - type: image + image: /local/images/remote/arrow_right.png + tap_action: + action: call-service + service: shell_command.bravia_right + style: + top: 50% + left: 73% + width: 15% + - type: image + image: /local/images/remote/arrow_up.png + tap_action: + action: call-service + service: shell_command.bravia_up + style: + top: 23% + left: 50% + width: 15% + - type: image + image: /local/images/remote/arrow_down.png + tap_action: + action: call-service + service: shell_command.bravia_down + style: + top: 77% + left: 50% + width: 15% + - type: image + image: /local/images/remote/labels/action_menu.png + tap_action: + action: call-service + service: shell_command.bravia_actionmenu + style: + top: 6% + left: 50% + width: 45% + - type: image + image: /local/images/remote/labels/guide.png + tap_action: + action: call-service + service: shell_command.bravia_gguide + style: + top: 23% + left: 13% + width: 20% + - type: image + image: /local/images/remote/labels/apps.png + tap_action: + action: call-service + service: shell_command.bravia_applicationlauncher + style: + top: 23% + left: 87% + width: 20% + - type: image + image: /local/images/remote/labels/back.png + tap_action: + action: call-service + service: shell_command.bravia_return + style: + top: 77% + left: 13% + width: 20% + - type: image + image: /local/images/remote/labels/home.png + tap_action: + action: call-service + service: shell_command.bravia_home + style: + top: 77% + left: 87% + width: 20% + - type: image + image: /local/images/remote/labels/tv.png + tap_action: + action: call-service + service: shell_command.bravia_tv + style: + top: 94% + left: 50% + width: 20% + # Volume & Channels Buttons + - type: horizontal-stack + cards: + - type: picture-elements + image: /local/images/remote/backgrounds/bg_volume.png + elements: + # Jump + - type: icon + icon: mdi:repeat + style: + top: 34% + left: 50% + color: white + --iron-icon-height: 16% + --iron-icon-width: 16% + tap_action: + action: none + - type: image + image: /local/images/remote/black_button.png + style: + top: 46% + left: 50% + width: 15% + tap_action: + action: call-service + service: shell_command.bravia_jump + # Volume Mute + - type: icon + icon: mdi:volume-mute + style: + top: 50% + left: 65% + color: white + --iron-icon-height: 16% + --iron-icon-width: 16% + tap_action: + action: none + - type: image + image: /local/images/remote/black_button.png + style: + top: 76% + left: 50% + width: 15% + tap_action: + action: call-service + service: shell_command.bravia_mute + # Volume Up/Down + - type: image + image: /local/images/remote/labels/volume.png + style: + top: 15% + left: 20% + width: 20% + tap_action: + action: none + - type: image + image: /local/images/remote/chngbtn.png + style: + top: 60% + left: 20% + width: 15% + - type: image + image: /local/images/remote/plus.png + style: + top: 40% + left: 20% + width: 10% + tap_action: + action: call-service + service: shell_command.bravia_volumeup + - type: image + image: /local/images/remote/minus.png + style: + top: 80% + left: 20% + width: 10% + tap_action: + action: call-service + service: shell_command.bravia_volumedown + # Channels Up/Down + - type: image + image: /local/images/remote/labels/prog.png + style: + top: 15% + left: 80% + width: 20% + tap_action: + action: none + - type: image + image: /local/images/remote/chngbtn.png + tap_action: + action: call-service + style: + top: 60% + left: 80% + width: 15% + - type: image + image: /local/images/remote/plus.png + style: + top: 40% + left: 80% + width: 10% + tap_action: + action: call-service + service: shell_command.bravia_channelup + - type: image + image: /local/images/remote/minus.png + style: + top: 80% + left: 80% + width: 10% + tap_action: + action: call-service + service: shell_command.bravia_channeldown + # Play Pause Block + - type: horizontal-stack + cards: + - type: picture-elements + image: /local/images/remote/backgrounds/bg_volume.png + elements: + # First Raw + # Audio + - type: image + image: /local/images/remote/labels/audio.png + style: + top: 10% + left: 15% + width: 16% + tap_action: + action: none + - type: image + image: /local/images/remote/black_button.png + style: + top: 25% + left: 15% + width: 15% + tap_action: + action: call-service + service: shell_command.bravia_audio + # Rewind + - type: image + image: /local/images/remote/black_button.png + style: + top: 25% + left: 38% + width: 15% + tap_action: + action: none + - type: icon + icon: mdi:rewind + style: + top: 25% + left: 38% + --iron-icon-height: 16% + --iron-icon-width: 16% + color: white + tap_action: + action: call-service + service: shell_command.bravia_rewind + # Play + - type: image + image: /local/images/remote/black_button.png + style: + top: 25% + left: 62% + width: 15% + tap_action: + action: none + - type: icon + icon: mdi:play + style: + top: 25% + left: 62% + --iron-icon-height: 24% + --iron-icon-width: 24% + color: white + tap_action: + action: call-service + service: shell_command.bravia_play + # Forward + - type: image + image: /local/images/remote/black_button.png + style: + top: 25% + left: 85% + width: 15% + tap_action: + action: none + - type: icon + icon: mdi:fast-forward + style: + top: 25% + left: 85% + --iron-icon-height: 60% + --iron-icon-width: 60% + color: white + tap_action: + action: call-service + service: shell_command.bravia_forward + # Second Raw + # Subtitles + - type: image + image: /local/images/remote/black_button.png + style: + top: 50% + left: 15% + width: 15% + tap_action: + action: none + - type: icon + icon: mdi:subtitles-outline + style: + top: 50% + left: 42% + --iron-icon-height: 9% + --iron-icon-width: 9% + color: white + tap_action: + action: call-service + service: shell_command.bravia_subtitle + # Prev + - type: image + image: /local/images/remote/black_button.png + style: + top: 50% + left: 38% + width: 15% + tap_action: + action: none + - type: icon + icon: mdi:skip-backward + style: + top: 50% + left: 38% + --iron-icon-height: 15% + --iron-icon-width: 15% + color: white + tap_action: + action: call-service + service: shell_command.bravia_prev + # Pause + - type: image + image: /local/images/remote/black_button.png + style: + top: 50% + left: 62% + width: 15% + tap_action: + action: none + - type: icon + icon: mdi:pause + style: + top: 50% + left: 62% + --iron-icon-height: 24% + --iron-icon-width: 24% + color: white + tap_action: + action: call-service + service: shell_command.bravia_pause + # Next + - type: image + image: /local/images/remote/black_button.png + style: + top: 50% + left: 85% + width: 15% + tap_action: + action: none + - type: icon + icon: mdi:skip-forward + style: + top: 50% + left: 85% + --iron-icon-height: 55% + --iron-icon-width: 55% + color: white + tap_action: + action: call-service + service: shell_command.bravia_next + # Third Raw + # Help + - type: image + image: /local/images/remote/labels/help.png + style: + top: 60% + left: 15% + width: 16% + tap_action: + action: none + - type: image + image: /local/images/remote/black_button.png + style: + top: 75% + left: 15% + width: 15% + tap_action: + action: call-service + service: shell_command.bravia_help + # Rec + - type: image + image: /local/images/remote/labels/rec.png + style: + top: 60% + left: 38% + width: 16% + - type: image + image: /local/images/remote/black_button.png + style: + top: 75% + left: 38% + width: 15% + tap_action: + action: call-service + service: shell_command.bravia_rec + - type: image + image: /local/images/remote/labels/rec_button.png + style: + top: 75% + left: 38% + width: 5% + tap_action: + action: call-service + service: shell_command.bravia_rec + # Stop + - type: image + image: /local/images/remote/black_button.png + style: + top: 75% + left: 62% + width: 15% + tap_action: + action: none + - type: icon + icon: mdi:stop + style: + top: 75% + left: 62% + --iron-icon-height: 24% + --iron-icon-width: 24% + color: white + tap_action: + action: call-service + service: shell_command.bravia_stop + # Title List + # GRGR + - type: image + image: /local/images/remote/labels/title_list.png + style: + top: 60% + left: 85% + width: 16% + - type: image + image: /local/images/remote/black_button.png + style: + top: 75% + left: 85% + width: 15% + tap_action: + action: call-service + service: shell_command.bravia_forward + + - type: horizontal-stack + cards: + - type: "custom:button-card" + color_type: label-card + color: rgb(46, 46, 46) + name: S O N Y + style: + - background-color: rgb(46, 46, 46) + - color: white + - type: horizontal-stack + cards: + - type: "custom:button-card" + color_type: label-card + color: rgb(46, 46, 46) + name: TV + style: + - background-color: rgb(46, 46, 46) + - color: white + + - type: vertical-stack + title: TV Sala + cards: + - type: media-control + entity: media_player.sony_bravia_tv + +###################################################################### +# Google Home +###################################################################### +# - title: Google Home +# id: settings +# icon: mdi:google +# panel: true +# cards: + # Google Home + - type: vertical-stack + title: Google Home Mini + cards: + + - type: entities + title: Google Mini Home Cucina + show_header_toggle: false + entities: + - media_player.google_home + - input_text.google_home_speak + + - type: horizontal-stack + cards: + - type: entity-button + name: Affare + icon: mdi:numeric-1 + entity: script.laura_voice + tap_action: + action: call-service + service: script.turn_on + service_data: + entity_id: script.laura_voice_1 + - type: entity-button + name: Belan + icon: mdi:numeric-2 + entity: script.laura_voice + tap_action: + action: call-service + service: script.turn_on + service_data: + entity_id: script.laura_voice_2 + - type: entity-button + name: Schifezza + icon: mdi:numeric-3 + entity: script.laura_voice + tap_action: + action: call-service + service: script.turn_on + service_data: + entity_id: script.laura_voice_3 + - type: entity-button + name: Che Schifo è? + icon: mdi:numeric-4 + entity: script.laura_voice + tap_action: + action: call-service + service: script.turn_on + service_data: + entity_id: script.laura_voice_4 + + - type: horizontal-stack + cards: + - type: entity-button + name: I'm Babu + icon: mdi:numeric-1 + entity: script.babu_voice + tap_action: + action: call-service + service: script.turn_on + service_data: + entity_id: script.babu_voice_1 + - type: entity-button + name: Heheeeee + icon: mdi:numeric-2 + entity: script.babu_voice + tap_action: + action: call-service + service: script.turn_on + service_data: + entity_id: script.babu_voice_2 diff --git a/ui-settings.yaml b/ui-settings.yaml deleted file mode 100644 index 9373a29f..00000000 --- a/ui-settings.yaml +++ /dev/null @@ -1,176 +0,0 @@ -###################################################################### -# Lovelace UI - Sistema -###################################################################### - -title: Sistema Home Assistant -background: var(--background-image) -views: -###################################################################### -# Settings -###################################################################### - - title: Configurazione - id: settings - icon: mdi:settings - badges: - - binary_sensor.home_mode - - binary_sensor.guard_mode - - binary_sensor.speech_notifications - - binary_sensor.text_notifications -# panel: true - cards: - - type: vertical-stack - cards: - - type: entities - title: Automazioni - show_header_toggle: false - entities: - - automation.startup_restart_on_error - - automation.startup_google_sync - #- automation.modalita_notte - - automation.risveglio_giorgio - #- automation.saluto_di_benvenuto - #- automation.saluto_orario - - type: entities - title: Configurazione Notifiche - show_header_toggle: false - entities: - - input_boolean.speech_notifications - - input_boolean.text_notifications - - - type: vertical-stack - cards: - - type: entities - title: Controlli - show_header_toggle: false - entities: - - script.homeassistant_restart - - script.homeassistant_reload_scripts - - script.homeassistant_reload_automations - - script.homeassistant_clearlog - - script.homeassistant_google_home_sync - - input_boolean.test_mode - - - type: entities - title: Operazione sui Dispositivi - show_header_toggle: false - entities: - - script.shelly_upgrade - - script.shelly_reboot - - - type: vertical-stack - cards: - - type: entities - title: Informazioni Varie - show_header_toggle: false - entities: - - sensor.home_assistant_current_version - - sensor.zigbee2mqtt_versione_bridge - - sensor.zigbee2mqtt_versione_coordinator - - sensor.cert_expiry_server_giorgioravera_it - - input_boolean.update - -###################################################################### -# Network -###################################################################### - - title: Dispositivi di Rete - id: network - icon: mdi:lan - cards: - - type: vertical-stack - cards: - - type: glance - title: External IP - entities: - - sensor.ip_1 - - sensor.ip_2 - - type: glance - title: Speed Test - entities: - - sensor.speedtest_ping - - sensor.speedtest_download - - sensor.speedtest_upload - - type: glance - title: pfSense - entities: - - sensor.freebsd_router_kib_s_received - - sensor.freebsd_router_kib_s_sent - - type: vertical-stack - cards: - - type: entities - title: Nas - show_header_toggle: false - entities: - - switch.nas - - script.plex_start - - script.plex_stop - -###################################################################### -# Zigbee -###################################################################### - - title: Zigbee - id: zigbee - icon: mdi:zigbee - #panel: true # this renders the first card on full width, other cards in this view will not be rendered - cards: - - type: entities - title: Stato Sistema Zigbee2mqtt - show_header_toggle: false - entities: - - sensor.zigbee2mqtt_stato_bridge - - sensor.zigbee2mqtt_stato_permit_join - - sensor.zigbee2mqtt_stato_log_level - - sensor.zigbee2mqtt_versione_bridge - - sensor.zigbee2mqtt_versione_coordinator - - - type: entities - title: Operazioni Sistema Zigbee2mqtt - show_header_toggle: false - 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 - - - type: entities - title: Stato Batteria ZigBee Devices - show_header_toggle: false - entities: - - type: custom:battery-entity - 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:zigbee2mqtt-networkmap - title: Zigbee2mqtt Network Map - entity: sensor.zigbee2mqtt_networkmap - # the following are optional: - mqtt_base_topic: zigbee2mqtt # if you change base_topic of Zigbee2mqtt, change it accordingly - force: 3000 # decrease it to get smaller map if you have many devices - node_size: 16 - font_size: 12 - link_width: 2 - height: 400 # height of the card - # use this css config or use whatever css tech to change look and feel, - # the same variable can also be used in Home Assistant themes, see https://www.home-assistant.io/components/frontend/#defining-themes - css: | - :host { - --zigbee2mqtt-networkmap-node-color: rgba(18, 120, 98, .7); - --zigbee2mqtt-networkmap-node-fill-color: #dcfaf3; - --zigbee2mqtt-networkmap-node-pinned-color: rgba(190, 56, 93, .6); - --zigbee2mqtt-networkmap-link-color: rgba(18, 120, 98, .5); - --zigbee2mqtt-networkmap-hover-color: #be385d; - --zigbee2mqtt-networkmap-link-selected-color: rgba(202, 164, 85, .6); - --zigbee2mqtt-networkmap-label-color: #127862; - --zigbee2mqtt-networkmap-arrow-color: rgba(18, 120, 98, 0.7); - --zigbee2mqtt-networkmap-node-coordinator-color: rgba(224, 78, 93, .7); - --zigbee2mqtt-networkmap-node-router-color: rgba(0, 165, 255, .7); - } diff --git a/ui-settings.yaml.disabled b/ui-settings.yaml.disabled new file mode 100644 index 00000000..9373a29f --- /dev/null +++ b/ui-settings.yaml.disabled @@ -0,0 +1,176 @@ +###################################################################### +# Lovelace UI - Sistema +###################################################################### + +title: Sistema Home Assistant +background: var(--background-image) +views: +###################################################################### +# Settings +###################################################################### + - title: Configurazione + id: settings + icon: mdi:settings + badges: + - binary_sensor.home_mode + - binary_sensor.guard_mode + - binary_sensor.speech_notifications + - binary_sensor.text_notifications +# panel: true + cards: + - type: vertical-stack + cards: + - type: entities + title: Automazioni + show_header_toggle: false + entities: + - automation.startup_restart_on_error + - automation.startup_google_sync + #- automation.modalita_notte + - automation.risveglio_giorgio + #- automation.saluto_di_benvenuto + #- automation.saluto_orario + - type: entities + title: Configurazione Notifiche + show_header_toggle: false + entities: + - input_boolean.speech_notifications + - input_boolean.text_notifications + + - type: vertical-stack + cards: + - type: entities + title: Controlli + show_header_toggle: false + entities: + - script.homeassistant_restart + - script.homeassistant_reload_scripts + - script.homeassistant_reload_automations + - script.homeassistant_clearlog + - script.homeassistant_google_home_sync + - input_boolean.test_mode + + - type: entities + title: Operazione sui Dispositivi + show_header_toggle: false + entities: + - script.shelly_upgrade + - script.shelly_reboot + + - type: vertical-stack + cards: + - type: entities + title: Informazioni Varie + show_header_toggle: false + entities: + - sensor.home_assistant_current_version + - sensor.zigbee2mqtt_versione_bridge + - sensor.zigbee2mqtt_versione_coordinator + - sensor.cert_expiry_server_giorgioravera_it + - input_boolean.update + +###################################################################### +# Network +###################################################################### + - title: Dispositivi di Rete + id: network + icon: mdi:lan + cards: + - type: vertical-stack + cards: + - type: glance + title: External IP + entities: + - sensor.ip_1 + - sensor.ip_2 + - type: glance + title: Speed Test + entities: + - sensor.speedtest_ping + - sensor.speedtest_download + - sensor.speedtest_upload + - type: glance + title: pfSense + entities: + - sensor.freebsd_router_kib_s_received + - sensor.freebsd_router_kib_s_sent + - type: vertical-stack + cards: + - type: entities + title: Nas + show_header_toggle: false + entities: + - switch.nas + - script.plex_start + - script.plex_stop + +###################################################################### +# Zigbee +###################################################################### + - title: Zigbee + id: zigbee + icon: mdi:zigbee + #panel: true # this renders the first card on full width, other cards in this view will not be rendered + cards: + - type: entities + title: Stato Sistema Zigbee2mqtt + show_header_toggle: false + entities: + - sensor.zigbee2mqtt_stato_bridge + - sensor.zigbee2mqtt_stato_permit_join + - sensor.zigbee2mqtt_stato_log_level + - sensor.zigbee2mqtt_versione_bridge + - sensor.zigbee2mqtt_versione_coordinator + + - type: entities + title: Operazioni Sistema Zigbee2mqtt + show_header_toggle: false + 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 + + - type: entities + title: Stato Batteria ZigBee Devices + show_header_toggle: false + entities: + - type: custom:battery-entity + 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:zigbee2mqtt-networkmap + title: Zigbee2mqtt Network Map + entity: sensor.zigbee2mqtt_networkmap + # the following are optional: + mqtt_base_topic: zigbee2mqtt # if you change base_topic of Zigbee2mqtt, change it accordingly + force: 3000 # decrease it to get smaller map if you have many devices + node_size: 16 + font_size: 12 + link_width: 2 + height: 400 # height of the card + # use this css config or use whatever css tech to change look and feel, + # the same variable can also be used in Home Assistant themes, see https://www.home-assistant.io/components/frontend/#defining-themes + css: | + :host { + --zigbee2mqtt-networkmap-node-color: rgba(18, 120, 98, .7); + --zigbee2mqtt-networkmap-node-fill-color: #dcfaf3; + --zigbee2mqtt-networkmap-node-pinned-color: rgba(190, 56, 93, .6); + --zigbee2mqtt-networkmap-link-color: rgba(18, 120, 98, .5); + --zigbee2mqtt-networkmap-hover-color: #be385d; + --zigbee2mqtt-networkmap-link-selected-color: rgba(202, 164, 85, .6); + --zigbee2mqtt-networkmap-label-color: #127862; + --zigbee2mqtt-networkmap-arrow-color: rgba(18, 120, 98, 0.7); + --zigbee2mqtt-networkmap-node-coordinator-color: rgba(224, 78, 93, .7); + --zigbee2mqtt-networkmap-node-router-color: rgba(0, 165, 255, .7); + }