Lovelace for Google Nest Hub

Are there people who want to share and show their lovelace that they use for the Google Nest Hub?

Have already been playing with a dashboard for the Nest Hub, but only with the custom button cards. I am curious what others will make of it. To get some inspiration.

1 Like

Sounds like a great idea

Now we need someone who want to start sharing. So that we can start with the discussions and examples for the Google Nest hub dashboards.

Okay not so much people who wants to share the config for the Nest.
So I have made a basic view with the lovelace custom homekit style off Dbuit
Check it out over here: https://github.com/DBuit/Homekit-panel-card

Screen:

title: Cast
views:
  - badges: []
    cards:
      - entities:
          - entities:
              - card: weather-forecast
                cardOptions:
                  entity: weather.entity
                cardStyle: |
                  ha-card {
                      padding: 5px!important;
                      display: flex!important;
                      flex-direction: column!important;
                      background: transparent!important;
                      box-shadow: none!important;
                      border-radius:0!important;
                  }
                  .content {
                      display: flex!important;
                      flex-direction: row!important;
                  }
                  .icon-image {
                      min-width: auto!important;
                  }
                  .icon-image > * {
                      height: 32px!important;
                      flex: 0 0 32px!important;
                  }
                  .info .name-state {
                      font-weight: 500;
                  }
                  .info .name-state .state {
                      font-size:14px!important;
                      text-align:right;
                  }
                  .info .name-state .name {
                      font-size:14px!important;
                  }
                  .info .temp-attribute {
                      width:100%;
                      font-weight: 500;
                  }
                  .info .temp-attribute .temp {
                      font-size: 14px!important;
                  }
                  .info .temp-attribute .temp span {
                      font-size: 14px!important;
                  }
                  .forecast {
                      font-size: 14px!important;
                      padding-top: 5px!important;
                  }
                  .forecast-image-icon {
                      padding:0!important;
                  }
                  .forecast-image-icon > * {
                      width:20px!important;
                      height:20px!important;
                      margin: 0 auto!important;
                  }
                  .forecast .temp {
                      margin-top:0!important;
                      font-size:14px!important;
                  }
                  .forecast .templow {
                      display:none;
                  }
                higher: true
                higherSize: 1
                wider: true
                widerSize: 2
              - entity: light.entity
                higher: true
                higherSize: 1
                wider: true
                widerSize: 1
              - entity: light.entity
                higher: true
                higherSize: 1
                wider: true
                widerSize: 1
              - entity: light.entity
                higher: true
                higherSize: 1
                wider: true
                widerSize: 1
              - entity: light.entity
                higher: true
                higherSize: 2
                wider: true
                widerSize: 1
              - entity: light.entity
                higher: true
                higherSize: 2
                wider: true
                widerSize: 1
              - entity: light.entity
                higher: true
                higherSize: 1
                wider: true
                widerSize: 1
              - entity: light.entity
                higher: true
                higherSize: 1
                wider: true
                widerSize: 1
              - entity: light.entity
                higher: true
                higherSize: 1
                wider: true
                widerSize: 1
              - entity: light.entity
                higher: true
                higherSize: 1
                wider: true
                widerSize: 1
          - entities:
              - entity: cover.entity
              - entity: cover.entity
              - entity: cover.entity
          - entities:
              - entity: media_player.entity
                offStates:
                  - 'off'
                  - unavailable
                  - paused
              - entity: media_player.entity
                offStates:
                  - 'off'
                  - unavailable
                  - paused
              - entity: media_player.entity
                offStates:
                  - 'off'
                  - unavailable
                  - paused
        masonry: true
        type: 'custom:homekit-card'
    icon: 'mdi:home-outline'
    panel: true
    path: cast
    theme: ''
    title: Cast

2 Likes

Nice job!
But… can you share the code that you have used to cast to Nest Hub?
I’m trying some automations founds here… but they are not working so well.
Thanks a lot!

Hi,
Yes sure. I’m using CATT.
See the following thread about that: Using CATT

In Automation.yaml I have this. It’s starts an script.

### CATT
  - alias: CastToHub
    trigger:
    - minutes: '/10'
      platform: time_pattern
    condition:
    - after: '6:30'
      before: '22:30'
      condition: time
    action:
    - data:
        addon: a0d7b954_ssh
        input: bash /config/configuration/cast.sh
      service: hassio.addon_stdin

Created cast.sh in the configuration folder.

if ! catt -d "Google Nest" status | grep "PLAYING"; then
    catt -d "Google Nest" volume 0
    catt -d "Google Nest" cast_site "your site" 
fi
1 Like