]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Fixed google maps and minor changes
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Sun, 18 Aug 2019 18:12:47 +0000 (20:12 +0200)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Sun, 18 Aug 2019 18:12:47 +0000 (20:12 +0200)
bravia.conf [deleted file]
configuration.yaml
device_tracker/google_maps.yaml
logger.yaml
sensor/energy.yaml
ui-lovelace.yaml

diff --git a/bravia.conf b/bravia.conf
deleted file mode 100644 (file)
index 4658114..0000000
+++ /dev/null
@@ -1 +0,0 @@
-{"tv.giorgioravera.it": {"pin": "9038", "mac": "cc:98:8b:ba:b1:5c"}} 
index e78d479e747c5b6e62a9d6ec475bed6ede9838b1..e57e55cd64a6219e6e4d8e2f5454ee01fd98900e 100644 (file)
@@ -154,3 +154,6 @@ weather: !include components/weather.yaml
 
 # Speed Test
 speedtestdotnet: !include components/speedtest.yaml
+
+# Custom Updater
+custom_updater:
index 3bf79d20b6f5c5ed0537c030aca71606c65c2d06..e0da9896fc168124b2d32598d4a55ad96f7718a4 100644 (file)
@@ -4,7 +4,6 @@
 
 - platform: google_maps
   username: !secret google_maps_username
-  password: !secret google_maps_password
 
   # Seconds between each scan for new devices
   # interval_seconds: 60
index 6a88570328527460062f7b92afc9a4badb81c8a1..797651f8c2394fdaa57ffdd878caebed9caf63f8 100644 (file)
@@ -9,3 +9,4 @@ logs:
   homeassistant.components.device_tracker: warn
   homeassistant.components.input_text: info
   custom_components.mercedesmeapi: warn
+  homeassistant.components.updater: debug
index ac69586746a9ce9dc66a9c5b8ba506042299f33d..4c2bdfa4f76eda1a51fda2eb77d4600ea722cc62 100644 (file)
@@ -1,33 +1,33 @@
-######################################################################\r
-# Shelly EM\r
-######################################################################\r
-\r
-- platform: mqtt\r
-  name: "Consumo"\r
-  state_topic: "shellies/shellyem-B9E1A0/emeter/0/power"\r
-  unit_of_measurement: 'W'\r
-  qos: 0\r
-\r
-- platform: mqtt\r
-  name: "Volt"\r
-  state_topic: "shellies/shellyem-B9E1A0/emeter/0/voltage"\r
-  unit_of_measurement: 'V'\r
-  qos: 0\r
-\r
-- platform: mqtt\r
-  name: "Energia Assorbita"\r
-  state_topic: "shellies/shellyem-B9E1A0/emeter/0/energy"\r
-  unit_of_measurement: 'KVh'\r
-  qos: 0\r
-\r
-- platform: mqtt\r
-  name: "Potenza Reattiva"\r
-  state_topic: "shellies/shellyem-B9E1A0/emeter/0/reactive_power"\r
-  unit_of_measurement: 'var'\r
-  qos: 0\r
-\r
-#- platform: mqtt\r
-#  name: "Energia Restituita"\r
-#  state_topic: "shellies/shellyem-B9E1A0/emeter/0/returned_energy"\r
-#  unit_of_measurement: 'KWh'\r
-#  qos: 0\r
+######################################################################
+# Shelly EM
+######################################################################
+
+- platform: mqtt
+  name: "Consumo"
+  state_topic: "shellies/shellyem-B9E1A0/emeter/0/power"
+  unit_of_measurement: 'W'
+  qos: 0
+
+- platform: mqtt
+  name: "Potenza Reattiva"
+  state_topic: "shellies/shellyem-B9E1A0/emeter/0/reactive_power"
+  unit_of_measurement: 'var'
+  qos: 0
+
+- platform: mqtt
+  name: "Voltaggio"
+  state_topic: "shellies/shellyem-B9E1A0/emeter/0/voltage"
+  unit_of_measurement: 'V'
+  qos: 0
+
+- platform: mqtt
+  name: "Energia Assorbita"
+  state_topic: "shellies/shellyem-B9E1A0/emeter/0/energy"
+  unit_of_measurement: 'KVh'
+  qos: 0
+
+#- platform: mqtt
+#  name: "Energia Restituita"
+#  state_topic: "shellies/shellyem-B9E1A0/emeter/0/returned_energy"
+#  unit_of_measurement: 'KWh'
+#  qos: 0
index deba2d1f57be15d4749a415eb69d703491cce3fe..176abd0fa8853572a9d48c5d88740098263f475b 100644 (file)
@@ -3,8 +3,14 @@
 ######################################################################
 
 title: Casa Ravera-Testa
-views:
 
+resources:
+  - url: /local/custom-cards/tracker-card.js?track=true
+    type: module
+  - url: /local/custom-cards/button-card.js
+    type: module
+
+views:
 ######################################################################
 # Main View
 ######################################################################
@@ -20,13 +26,14 @@ views:
       - binary_sensor.guard_mode
       - binary_sensor.speech_notifications
       - binary_sensor.text_notifications
+      - sensor.consumo
     cards:
     - type: picture-glance
       title: Cucina
       show_state: true
       state_image:
-        "on": /local/rooms/cucina_on.jpg
-        "off": /local/rooms/cucina_off.jpg
+        "on": /local/images/rooms/cucina_on.jpg
+        "off": /local/images/rooms/cucina_off.jpg
       entity: light.luce_cucina
       entities:
       - light.luce_cucina
@@ -38,8 +45,8 @@ views:
       title: Sala
       show_state: true
       state_image:
-        "on": /local/rooms/sala_on.jpg
-        "off": /local/rooms/sala_off.jpg
+        "on": /local/images/rooms/sala_on.jpg
+        "off": /local/images/rooms/sala_off.jpg
       entity: light.luce_divano
       #entity: group.lights_livingroom
       entities: 
@@ -53,8 +60,8 @@ views:
       title: Corridoio
       show_state: true
       state_image:
-        "on": /local/rooms/corridoio_on.jpg
-        "off": /local/rooms/corridoio_off.jpg
+        "on": /local/images/rooms/corridoio_on.jpg
+        "off": /local/images/rooms/corridoio_off.jpg
       entity: light.luce_corridoio
       image: 
       entities: 
@@ -64,8 +71,8 @@ views:
       title: Bagno
       show_state: true
       state_image:
-        "on": /local/rooms/bagno_on.jpg
-        "off": /local/rooms/bagno_off.jpg
+        "on": /local/images/rooms/bagno_on.jpg
+        "off": /local/images/rooms/bagno_off.jpg
       entity: light.luce_bagno
       #entity: group.lights_bathroom
       entities: 
@@ -77,8 +84,8 @@ views:
       title: Studio
       show_state: true
       state_image:
-        "on": /local/rooms/studio_on.jpg
-        "off": /local/rooms/studio_off.jpg
+        "on": /local/images/rooms/studio_on.jpg
+        "off": /local/images/rooms/studio_off.jpg
       entity: light.luce_studio
       entities: 
       - light.luce_studio
@@ -89,8 +96,8 @@ views:
       title: Camera
       show_state: true
       state_image:
-        "on": /local/rooms/camera_on.jpg
-        "off": /local/rooms/camera_off.jpg
+        "on": /local/images/rooms/camera_on.jpg
+        "off": /local/images/rooms/camera_off.jpg
       entity: light.luce_camera
       entities: 
       - light.luce_camera
@@ -106,6 +113,13 @@ views:
       - input_boolean.home_mode_away
       - input_boolean.guard_mode
       
+    - type: sensor
+      entity: sensor.consumo
+      name: Consumo Energetico
+      graph: line
+      unit: W
+      detail: 2
+
     - type: entities
       title: Controlli Vari
       show_header_toggle: false
@@ -246,64 +260,828 @@ views:
     id: multimedia
     icon: mdi:television
     cards:
-      - type: entities
-        title: Google Home Cucina
-        show_header_toggle: false
-        entities:
-        - media_player.google_home
-        - input_text.google_home_speak
-
       - type: vertical-stack
         title: TV Sala
         cards:
-        - type: media-control
-          entity: media_player.tv_sala
         - type: horizontal-stack
           cards:
-          - type: entity-button
-            entity: script.tv_volume_up
-            tap_action:
-              action: call-service
-              service: script.turn_on
-              service_data:
-                entity_id: script.tv_volume_up
-          - type: entity-button
-            entity: script.tv_volume_down
-            tap_action:
-              action: call-service
-              service: script.turn_on
-              service_data:
-                entity_id: script.tv_volume_down
-          - type: entity-button
-            entity: script.tv_volume_mute          
-            tap_action:
-              action: call-service
-              service: script.turn_on
-              service_data:
-                entity_id: script.tv_volume_mute
+            - 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.tv_sala
+              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_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: entity-button
-            entity: script.tv_play_pause
-            tap_action:
-              action: call-service
-              service: script.turn_on
-              service_data:
-                entity_id: script.tv_play_pause
-          - type: entity-button
-            entity: script.tv_toggle
-            tap_action:
-              action: call-service
-              service: script.turn_on
-              service_data:
-                entity_id: script.tv_toggle
-          - type: entity-button
-            entity: input_text.tv_change_channel
+            - 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.tv_sala
+
+      # 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
@@ -407,7 +1185,7 @@ views:
           - switch.ff590mr_lock
           - binary_sensor.ff590mr_doors_closed
           - binary_sensor.ff590mr_windows_closed_2
-          - binary_sensor.ff590mr_park_brake_status
+          #- binary_sensor.ff590mr_park_brake_status
           #- device_tracker.wdd1760081v167576
       - type: entities
         title: "Mercedes A200d: Allarmi"
@@ -453,6 +1231,12 @@ views:
           - sensor.ff590mr_liquid_consumption_start
           - sensor.ff590mr_liquid_consumption_reset
           - sensor.ff590mr_service_interval_days
+      - type: map
+        #title: Mercedes
+        aspect_ratio: 16:9
+        default_zoom: 15
+        entities:
+        - device_tracker.wdd1760081v167576
 
 ######################################################################
 # Train
@@ -616,3 +1400,13 @@ views:
 #              service: script.turn_on
 #              service_data:
 #                entity_id: script.shelly_upgrade
+
+      - type: vertical-stack
+        cards:
+        - type: custom:tracker-card
+          title: Aggiornamenti Moduli Custom
+          name_text: Nome
+          current_text: Versione Corrente
+          available_text: Versione Disponibile
+          check_text: Verifica
+          update_all_text: Aggiorna