home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.66k stars 30.8k forks source link

Cannot ignore panasonic_viera in discovery component #45073

Closed schmjop closed 3 years ago

schmjop commented 3 years ago

The problem

When trying to ignore the panasonic_viera component for discovery as shown in the snippet below, i get a warning when checking the configuration (see below). The warning does not list panasonic_viera, even though it is listed in the documentation as a possible value here.

Environment

Problem-relevant configuration.yaml

discovery:
  ignore:
    - panasonic_viera

Traceback/Error logs

Invalid config for [discovery]: value must be one of ['apple_tv', 'axis', 'belkin_wemo', 'bluesound', 'bose_soundtouch', 'daikin', 'deconz', 'denonavr', 'enigma2', 'esphome', 'freebox', 'frontier_silicon', 'google_cast', 'harmony', 'hass_ios', 'hass_mobile_app', 'hassio', 'heos', 'homekit', 'ikea_tradfri', 'kodi', 'konnected', 'lg_smart_device', 'logitech_mediaserver', 'nanoleaf_aurora', 'netgear_router', 'octoprint', 'openhome', 'philips_hue', 'sabnzbd', 'samsung_printer', 'songpal', 'sonos', 'tellstick', 'volumio', 'wink', 'xiaomi_gw', 'yamaha', 'yeelight'] @ data['discovery']['ignore'][0]. Got 'panasonic_viera'. (See /config/configuration.yaml, line 52). 

Additional information

frenck commented 3 years ago

This is a documentation error, as the Panasonic Viera is not using the old discovery anymore.

It has been removed in April last year: https://github.com/home-assistant/core/pull/34909

schmjop commented 3 years ago

Thank you for your quick response, a pull request for the documentation error has been merged here.

However, since it is not possible to ignore the Panasonic Viera via discovery, is there an alternative? For me, it keeps popping up after every reboot even though it is already added to my integrations.