Discover comentado mas continuo a receber notificações "New Devices Discovered"

Viva,

Tenho a linha do discovery comentada no configuration.yaml

# Discover some devices automatically
#discovery:

No entanto, continuo a receber notificações de “New Devices Discovered”

2019-12-18%2019_41_17-Home%20Assistant

O que está a faltar configurar ?

Agradeço desde já

Podes aqui colocar todo o teu ficheiro configuration.yaml com sem os teus dados pessoais?

Eu tive de substituir o default_config, no configuration.yaml
Coloquei assim:

#default_config:
config:
map:
mobile_app:
person:
sun:
system_health:
updater:

@RodolfoVieira aqui vai

homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  
  # Location required to calculate the time the sun rises and sets
  latitude: 38.xxxxx
  longitude: -9.xxxx
  
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 0
  # metric for Metric, imperial for Imperial
  unit_system: metric
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: Europe/Lisbon
  
  customize: !include customize.yaml

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Example configuration.yaml entry to enable the cloud component
cloud:

# Uncomment this if you are using SSL/TLS, running in Docker container, etc.

http:
    base_url: 192.168.1.110:8123
#    api_password: !secret http_password
    ssl_certificate: /ssl/fullchain.pem
    ssl_key: /ssl/privkey.pem
#    ip_ban_enabled: True
#    login_attempts_threshold: 3

# Acesso aos ficheiros de configuração

group: !include groups.yaml
script: !include scripts.yaml  
sensor: !include sensor.yaml
automation: !include automations.yaml

#packages: !include_dir_named packages/


# Discover some devices automatically
#discovery:

    
# Text to speech
tts:
  - platform: google_translate

###############################################################################
#                                                                             #
#                           Lâmpadas YeeLight                                 #
#                                                                             #
###############################################################################  

yeelight:
  devices:
    192.168.1.90:
      name: Mesa Jantar Esquerda
    192.168.1.91:
      name: Mesa Jantar Meio
    192.168.1.89:
      name: Mesa Jantar Direita
    192.168.1.70:
      name: Candeeiro Sala      
      
light:
  - platform: group
    name: Luz Mesa Jantar
    entities:
      - light.Mesa_Jantar_Esquerda
      - light.Mesa_Jantar_Meio
      - light.Mesa_Jantar_Direita

  - platform: group
    name: Iluminação Sala
    entities:
      - light.Mesa_Jantar_Esquerda
      - light.Mesa_Jantar_Meio
      - light.Mesa_Jantar_Direita
      - light.candeeiro_sala


###############################################################################
#                                                                             #
#                              Gateway Xiaomi                                 #
#                                                                             #
###############################################################################  

xiaomi_aqara:
  discovery_retry: 5
  gateways:
    - key: vxxxxxxxx

###############################################################################
#                                                                             #
#                           Tomada BlitzWolf                                  #
#                                                                             #
###############################################################################  

tuya:
  username: !secret tuya_username
  password: !secret tuya_password
  country_code: 351
  platform : smart_life

###############################################################################
#                                                                             #
#                        Termostato TADO                                      #
#                                                                             #
###############################################################################  
 
tado:
  username: !secret tado_username
  password: !secret tado_password

###############################################################################
#                                                                             #
#                           Media Player                                      #
#                                                                             #
###############################################################################  

media_player:
  - platform: webostv
    host: 192.168.1.81
    name: LG910V
    filename: webostv.conf
    timeout: 5
    turn_on_action:
      service: persistent_notification.create
      data:
        message: "Turn on action"
    customize:
      sources:
        - livetv
        - youtube
        - makotv
        - netflix

###############################################################################
#                                                                             #
#                         V A C U U M                                         #
#                                                                             #
###############################################################################  

vacuum:
  - platform: xiaomi_miio
    host: 192.168.1.65
    token: !secret token_xiaomi
    name: Aspirador

Obrigado

Tal como disse o @denkyem, o problema está no default_config pois inclui o discovery.

1 Like

@faquaresma faz o que te disseram aqui comenta o default_config, foi por essa razão que te pedi todo o código para vermos onde estaria o problema.

Bom dia,

Obrigado @RodolfoVieira @j_assuncao @denkyem

Está resolvido !

Ab.

1 Like

Copyright © 2017-2020. Todos os direitos reservados
CPHA.pt - info@cpha.pt


FAQ | Termos de Serviço/Regras | Política de Privacidade