From 01d3a2b7a294887cc0ee21a63bb0137c41123083 Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Wed, 24 Feb 2021 13:34:57 +0100 Subject: [PATCH 1/3] Fix broken links (#16724) --- source/_docs/blueprint/selectors.markdown | 8 ++++---- source/_posts/2020-10-28-release-117.markdown | 3 +-- source/_posts/2020-11-18-release-118.markdown | 3 +-- source/_posts/2021-02-03-release-20212.markdown | 2 +- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/source/_docs/blueprint/selectors.markdown b/source/_docs/blueprint/selectors.markdown index 2b489ecda7e..cca5ec1a0c4 100644 --- a/source/_docs/blueprint/selectors.markdown +++ b/source/_docs/blueprint/selectors.markdown @@ -224,9 +224,9 @@ entity: An example entity selector that, will only show devices that are: -- Provided by the [deCONZ](/integration/deconz) integration. +- Provided by the [deCONZ](/integrations/deconz) integration. - Are a Philips Hue Remote of Model RWL021. -- Provide a battery [sensor](/integration/sensor). +- Provide a battery [sensor](/integrations/sensor). And this is what is looks like in YAML: @@ -285,8 +285,8 @@ device_class: An example entity selector that, will only show entities that are: -- Provided by the [ZHA](/integration/zha) integration. -- From the [Binary Sensor](/integration/binary_sensor) domain. +- Provided by the [ZHA](/integrations/zha) integration. +- From the [Binary Sensor](/integrations/binary_sensor) domain. - Have presented themselves as devices of a motion device class. And this is what it looks like in YAML: diff --git a/source/_posts/2020-10-28-release-117.markdown b/source/_posts/2020-10-28-release-117.markdown index d9a9b869348..d7223abf6da 100644 --- a/source/_posts/2020-10-28-release-117.markdown +++ b/source/_posts/2020-10-28-release-117.markdown @@ -1541,7 +1541,7 @@ is automatically imported after upgrading and can be safely removed afterward. - Improve handling of ignored entries ([@balloob] - [#42148]) ([hue docs]) ([progettihwsw docs]) ([tradfri docs]) - Use the beautiful ambient light icon ([@dermotduffy] - [#42153]) ([hyperion docs]) - Upgrade sentry-sdk to 0.19.1 ([@frenck] - [#42132]) ([sentry docs]) -- Handle Fritz exception and log warning ([@JPHutchins] - [#42145]) ([fritz docs]) ([open_energy_view docs]) +- Handle Fritz exception and log warning ([@JPHutchins] - [#42145]) ([fritz docs]) - Fix pico tts errors ([@KevinCathcart] - [#41619]) ([tts docs]) - Add async_setup_entry to calendar platform ([@Olen] - [#42075]) ([calendar docs]) - Bump aioshelly library to 0.4.0 ([@bieniu] - [#41905]) ([shelly docs]) @@ -2738,7 +2738,6 @@ is automatically imported after upgrading and can be safely removed afterward. [omnilogic docs]: /integrations/omnilogic/ [onewire docs]: /integrations/onewire/ [onvif docs]: /integrations/onvif/ -[open_energy_view docs]: /integrations/open_energy_view/ [openhardwaremonitor docs]: /integrations/openhardwaremonitor/ [openhome docs]: /integrations/openhome/ [openuv docs]: /integrations/openuv/ diff --git a/source/_posts/2020-11-18-release-118.markdown b/source/_posts/2020-11-18-release-118.markdown index e242e993a30..9df04bc319e 100644 --- a/source/_posts/2020-11-18-release-118.markdown +++ b/source/_posts/2020-11-18-release-118.markdown @@ -802,7 +802,7 @@ all erroneous entries to the new `controller_modes` parameter. - Use common strings in openuv config flow ([@springstan] - [#42480]) ([openuv docs]) - Add platform services to Roon media player to allow grouping, ungrouping and transfer between players ([@pavoni] - [#42133]) ([roon docs]) - Set the translations cache under the lock ([@bdraco] - [#42470]) -- Add color_extractor service ([@GenericStudent] - [#42129]) ([colorthief docs]) (new-integration) +- Add color_extractor service ([@GenericStudent] - [#42129]) ([color_extractor docs]) (new-integration) - Remove zxdavb from honeywell codeowners ([@zxdavb] - [#42491]) ([honeywell docs]) - Fix somfy device recreation on update ([@bdraco] - [#42462]) ([somfy docs]) - Start homekit bridges with asyncio.gather ([@bdraco] - [#42498]) ([homekit docs]) @@ -1549,7 +1549,6 @@ all erroneous entries to the new `controller_modes` parameter. [cast docs]: /integrations/cast/ [cloud docs]: /integrations/cloud/ [color_extractor docs]: /integrations/color_extractor/ -[colorthief docs]: /integrations/colorthief/ [config docs]: /integrations/config/ [debugpy docs]: /integrations/debugpy/ [device_tracker docs]: /integrations/device_tracker/ diff --git a/source/_posts/2021-02-03-release-20212.markdown b/source/_posts/2021-02-03-release-20212.markdown index 07df11c9bd2..6f1827d7cfe 100644 --- a/source/_posts/2021-02-03-release-20212.markdown +++ b/source/_posts/2021-02-03-release-20212.markdown @@ -2034,7 +2034,7 @@ The following integrations have been removed: [frontend docs]: /integrations/frontend/ [generic_thermostat docs]: /integrations/generic_thermostat/ [gogogate2 docs]: /integrations/gogogate2/ -[google docs]: /integrations/google/ +[google docs]: /integrations/calendar.google/ [google_assistant docs]: /integrations/google_assistant/ [google_cloud docs]: /integrations/google_cloud/ [google_maps docs]: /integrations/google_maps/ From 7935c5d62038eca0c09bc19d8652103ed4d58de6 Mon Sep 17 00:00:00 2001 From: Benjamin Schmid Date: Wed, 24 Feb 2021 14:35:49 +0100 Subject: [PATCH 2/3] Enhance QNap configuration value documentation with more hints (#16726) Add a few more hints to avoid the configuration pitfalls I stepped into. I was already writing bug reports until I realized my configuration errors. Co-authored-by: Franck Nijhof Co-authored-by: Franck Nijhof --- source/_integrations/qnap.markdown | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/_integrations/qnap.markdown b/source/_integrations/qnap.markdown index 91a4d7ba479..bc0662975c1 100644 --- a/source/_integrations/qnap.markdown +++ b/source/_integrations/qnap.markdown @@ -35,7 +35,7 @@ sensor: {% configuration %} host: - description: The IP address of the QNAP NAS to monitor. + description: The IP address of the QNAP NAS to monitor, i.e., `192.168.8.12`. required: true type: string port: @@ -44,12 +44,12 @@ port: default: 8080 type: integer ssl: - description: Whether to connect via `https`. + description: Whether to connect via `https`. You might need to configure `port` (i.e., `443`) and `verify_ssl` (i.e., `false`) accordingly. required: false default: false type: boolean verify_ssl: - description: Whether SSL certificates should be validated. + description: Whether SSL certificates should be validated. Set to `false` if you use the default, self-signed QNap certificate. required: false default: true type: boolean @@ -59,7 +59,7 @@ timeout: default: 10 type: integer username: - description: An user to connect to the QNAP NAS. + description: An administration user to connect to the QNAP NAS. This user must be a member of the _administration_ group. required: true type: string password: @@ -118,9 +118,9 @@ monitored_conditions: description: Displays the used space of the volume as a percentage (creates a new entry for each volume). {% endconfiguration %} -### Self-signed certificates +### SSL and Self-signed certificates -If your QNAP device uses self-signed certificates, set the `verify_ssl` option to `false`. +If your QNAP device uses self-signed certificates, set the `verify_ssl` option to `false`. If you configured your device to accept SSL-only connections, please also check that you set `port` accordingly, or you might get an `SSL: WRONG_VERSION_NUMBER` error. ### QNAP device support From 7a3d35ca23666afa7bc9886fce9c0e7a03abb8fe Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 24 Feb 2021 15:08:05 +0100 Subject: [PATCH 3/3] Optimize details block (#16727) --- plugins/details.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plugins/details.rb b/plugins/details.rb index 947495a6120..5e081d1de98 100644 --- a/plugins/details.rb +++ b/plugins/details.rb @@ -15,9 +15,6 @@ module Jekyll end title = title.to_s.delete("\"") - site = context.registers[:site] - converter = site.find_converter_instance(::Jekyll::Converters::Markdown) - <<~MARKUP