From 1b5eda2ce5e6ec5633e251591762c8b9419a2933 Mon Sep 17 00:00:00 2001 From: Jason Kingsbury Date: Wed, 11 Apr 2018 14:53:26 +0100 Subject: [PATCH 1/2] Update media_player.onkyo.markdown --- source/_components/media_player.onkyo.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_components/media_player.onkyo.markdown b/source/_components/media_player.onkyo.markdown index ca277f770639..6816f97287d7 100644 --- a/source/_components/media_player.onkyo.markdown +++ b/source/_components/media_player.onkyo.markdown @@ -24,6 +24,7 @@ media_player: - platform: onkyo host: 192.168.1.2 name: receiver + max_volume: 50 sources: pc: 'HTPC' ``` @@ -32,6 +33,7 @@ Configuration variables: - **host** (*Optional*): IP address of the device. Example:`192.168.1.2`. If not specified, the platform will load any discovered receivers. - **name** (*Required if host is specified*): Name of the device. +- **max_volume** (*Optional*): Maximum allowed volume set by the volume slider. Must be less than or equal to `80`. Defaults to `80`. - **sources** (*Optional*): A list of mappings from source to source name. Valid sources can be found below. A default list will be used if no source mapping is specified. List of source names: From 9654a88ea53f8eff86d4ac0a92b8524abe385e37 Mon Sep 17 00:00:00 2001 From: Jason Kingsbury Date: Sat, 5 May 2018 12:19:39 +0100 Subject: [PATCH 2/2] onkyo: removed optional value from sample config, update max_volume documentation to include required volume range --- source/_components/media_player.onkyo.markdown | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/_components/media_player.onkyo.markdown b/source/_components/media_player.onkyo.markdown index 6816f97287d7..f5dc772a54ab 100644 --- a/source/_components/media_player.onkyo.markdown +++ b/source/_components/media_player.onkyo.markdown @@ -24,7 +24,6 @@ media_player: - platform: onkyo host: 192.168.1.2 name: receiver - max_volume: 50 sources: pc: 'HTPC' ``` @@ -33,7 +32,7 @@ Configuration variables: - **host** (*Optional*): IP address of the device. Example:`192.168.1.2`. If not specified, the platform will load any discovered receivers. - **name** (*Required if host is specified*): Name of the device. -- **max_volume** (*Optional*): Maximum allowed volume set by the volume slider. Must be less than or equal to `80`. Defaults to `80`. +- **max_volume** (*Optional*): Maximum allowed volume set by the volume slider. Must be between `1` and `80`. Defaults to `80`. - **sources** (*Optional*): A list of mappings from source to source name. Valid sources can be found below. A default list will be used if no source mapping is specified. List of source names: