From 7a278c486e07e8e48c72a97a35574f369f308c24 Mon Sep 17 00:00:00 2001 From: aaska Date: Tue, 21 Jan 2020 13:00:39 +0100 Subject: [PATCH 1/5] Update synologydsm.markdown Added additional definitions for PR https://github.com/home-assistant/home-assistant/pull/31049 --- source/_integrations/synologydsm.markdown | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/source/_integrations/synologydsm.markdown b/source/_integrations/synologydsm.markdown index da69f2da50c..15f628d340a 100644 --- a/source/_integrations/synologydsm.markdown +++ b/source/_integrations/synologydsm.markdown @@ -50,6 +50,11 @@ password: description: The password of the user to connect to the Synology NAS. required: true type: string +api_version: + description: Define DSM version to allow backward compatibility with 5.x + default: 6 + type: integer + required: false ssl: description: Determine if HTTPS should be used. required: false @@ -109,9 +114,9 @@ monitored_conditions: disk_status: description: Displays the status of the hard disk (creates a new entry for each disk). disk_exceed_bad_sector_thr: - description: Displays true / false to indicate if the hard disk exceeded the maximum bad sector threshold (creates a new entry for each disk). + description: Displays true / false to indicate if the hard disk exceeded the maximum bad sector threshold (creates a new entry for each disk). (Does not work with DSM 5.x) disk_below_remain_life_thr: - description: Displays true / false to indicate if the hard disk dropped below the remain life threshold (creates a new entry for each disk). + description: Displays true / false to indicate if the hard disk dropped below the remain life threshold (creates a new entry for each disk). (Does not work with DSM 5.x) disk_temp: description: Displays the temperature of the hard disk (creates a new entry for each disk, uses the unit_system to display in C or F). volume_status: From 0c9244188281a5472f032d1a10ed6da3d6371d32 Mon Sep 17 00:00:00 2001 From: aaska Date: Tue, 21 Jan 2020 15:15:58 +0100 Subject: [PATCH 2/5] Update source/_integrations/synologydsm.markdown Co-Authored-By: Franck Nijhof --- source/_integrations/synologydsm.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/synologydsm.markdown b/source/_integrations/synologydsm.markdown index 15f628d340a..ea3e673fbfc 100644 --- a/source/_integrations/synologydsm.markdown +++ b/source/_integrations/synologydsm.markdown @@ -51,7 +51,7 @@ password: required: true type: string api_version: - description: Define DSM version to allow backward compatibility with 5.x + description: Define DSM version to allow backward compatibility with 5.x. default: 6 type: integer required: false From 65fa83b97dd351036a7e4b704f8fe53cfc782928 Mon Sep 17 00:00:00 2001 From: aaska Date: Tue, 21 Jan 2020 15:17:19 +0100 Subject: [PATCH 3/5] Update synologydsm.markdown Updating document based on comments --- source/_integrations/synologydsm.markdown | 1 - 1 file changed, 1 deletion(-) diff --git a/source/_integrations/synologydsm.markdown b/source/_integrations/synologydsm.markdown index ea3e673fbfc..fc661d84c5e 100644 --- a/source/_integrations/synologydsm.markdown +++ b/source/_integrations/synologydsm.markdown @@ -52,7 +52,6 @@ password: type: string api_version: description: Define DSM version to allow backward compatibility with 5.x. - default: 6 type: integer required: false ssl: From 59f7562fc77f684ebf5e35d7462c9e16833924c5 Mon Sep 17 00:00:00 2001 From: aaska Date: Wed, 22 Jan 2020 14:38:37 +0100 Subject: [PATCH 4/5] Update synologydsm.markdown Added additional description on api_version accepted values --- source/_integrations/synologydsm.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/synologydsm.markdown b/source/_integrations/synologydsm.markdown index fc661d84c5e..8ed768fb1d1 100644 --- a/source/_integrations/synologydsm.markdown +++ b/source/_integrations/synologydsm.markdown @@ -51,7 +51,7 @@ password: required: true type: string api_version: - description: Define DSM version to allow backward compatibility with 5.x. + description: Define DSM version to allow backward compatibility with 5.x. Value can be `5` for DSM 5.x or `6` for DSM 6.x or later. type: integer required: false ssl: From 7db9ef39f1129906a184babcb66b6710a31a1a35 Mon Sep 17 00:00:00 2001 From: aaska Date: Fri, 24 Jan 2020 11:52:17 +0100 Subject: [PATCH 5/5] Update synologydsm.markdown Removing the 15 minutes delay note since it's now working with the updated API --- source/_integrations/synologydsm.markdown | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/_integrations/synologydsm.markdown b/source/_integrations/synologydsm.markdown index 8ed768fb1d1..c8dfed7962a 100644 --- a/source/_integrations/synologydsm.markdown +++ b/source/_integrations/synologydsm.markdown @@ -134,9 +134,6 @@ monitored_conditions: description: Displays the maximum temperature of all disks in the volume (creates a new entry for each volume). {% endconfiguration %} -
-After booting Home Assistant it can take up to 15 minutes for the sensors to show up. This is due to the fact that sensors are created after Home Assistant has fully been initialized. -
This sensor will wake up your Synology NAS if it's in hibernation mode.