Google assistant breaking change? [SOLVED]

Hi All

I just did the update and I did read the breaking changelog:

  • Google Assistant - Entities exposed to Google Assistant, that have aliases configured (YAML only feature), will now expose the configured name, instead of the first configured alias.Because of that, it might be that entities that have a name and aliases set for Google Assistant, may show up with a “new” name.This mitigates an issue with Google Assistant, which seems to ignore the configured name when aliases are configured. - (@frenck - #30799) (google_assistant docs)

I just cant find anything changend in the guide of the manual setup of Google assistant?

image


Is there a easy fix to this that I didnt find during search?

Thanks
Casperse

Just put a name: for every exposed entity, and you should be fine

Could you give me an example?
A name in the configuration file?

google_assistant:
  project_id: !secret gass_projectid
  api_key: !secret apikey
  exposed_domains:
    - sensor
    - script
    - switch
    - light
    - climate
    - cover
    - media_player
    - scene    
    - group
    - fan
  expose_by_default: false
  entity_config:    
        climate.temperatur_i_haven:
          name: Havetemperatur
          room: Haven
          expose: true
          aliases:
            - Temperatur i haven
#        sensor.havetemperatur:
#          name: Havetemperatur
#          room: Haven
#          expose: true
#          aliases:
#            - Temperatur i haven
        climate.temperatur_i_garagen:
          name: Garagetemperatur
          room: Garage
          expose: true
          aliases:
            - Temperatur i garagen
#        sensor.garagetemperatur:
#          name: Garagetemperatur
#          room: Garage
#          expose: true
#          aliases:
#            - Temperatur i garagen
#        cover.garagedoor:
#          name: Garageport
#          expose: true
#          room: Garage
#          aliases: Garageport
        cover.garagedoor_mqtt:
          name: Garage-port
          expose: true
          room: Garage
          aliases: Garage-port        
        light.udendorslys:
          name: Udendorslys
          expose: true
          room: Haven
          aliases: Udendørslys          
#        light.lys_i_stuen:
#          name: lys_i_stuen
#          expose: true
#          room: Stue
#          aliases: Lys i stuen   
#        light.lys_i_kokkenet:
#          name: lys_i_køkkenet
#          expose: true
#          room: Køkken
#          aliases: Lys i køkkenet   
        light.thomas_kontorlampe:
          name: Thomas_kontorlampe
          expose: true
          room: Thomas værelse
          aliases: Thomas kontorlampe
        light.victoria_kontorlampe:
          name: Victoria_kontorlampe
          expose: true
          room: Victoria værelse
          aliases: Victoria kontorlampe        
        switch.sonoff_b1:
          expose: false
        switch.sonoff_b3:
          expose: false
        switch.sonoff_pow_r2_1:
          expose: false
        switch.sonoff_pow_r2_2:
          expose: false
#        switch.sonoff_s201:
#          name: Køkkenlampe
#          expose: true
#          room: Køkken
#          aliases: Køkkenlampe        
#        switch.sonoff_s202:
#          name: Gulvlampe
#          expose: true
#          room: Stue
#          aliases: Gulvlampe
#        switch.sonoff_s203:
#          name: Standerlampe
#          expose: true
#          room: Stue
#          aliases: Standerlampe
        switch.sonoff_s261:
          name: kontorlampe
          expose: true
          room: Victoria værelse
          aliases: Victorias Kontorlampe
        switch.sonoff_s262:
          name: kontorlampe
          expose: true
          room: Thomas værelse
          aliases: Thomas Kontorlampe
        switch.sonoff_s263:
          expose: false
        switch.sonoff_s264:
          expose: false
        switch.sonoff_s265:
          expose: false
        switch.sonoff_s266:
          expose: false       
        switch.sonoff_th16_1:
          expose: false
        switch.sonoff_th16_2:
          expose: false
        switch.sonoff_4chpro1:
          expose: false
        switch.sonoff_4chpro2:
          expose: false
        switch.sonoff_4chpro3:
          expose: false
        switch.sonoff_4chpro4:
          expose: false
        script.garageport_alarm:
          expose: false
        script.sonos_say:
          expose: false
        script.aktivitetsrum_off:
          expose: false
        script.musik_stuen_activity_off:
          expose: false
        script.ps4_activity_off:
          expose: false
        script.stuen_off:
          expose: false
        script.chromecast_aktivitetsrum_off:
          expose: false
        script.tv_stuen_activity_off:
          expose: false
        script.wii_aktivitetsrum_off:
          expose: false
        script.musik_stuen_activity_on:
          expose: false
        script.ps4_activity_on:
          expose: false
        script.chromecast_aktivitetsrum_on:
          expose: false
        script.tv_stuen_activity_on:
          expose: false
        script.wii_aktivitetsrum_on:
          expose: false

Got it

Named EVERYTHING even the disabled ones!
And removed the API key no errors…have to check if everything works :slight_smile: