From bdff467f5c2233691551ec857a11c96e32d0c28d Mon Sep 17 00:00:00 2001 From: Xiaonan Shen Date: Sun, 26 Apr 2020 17:57:50 -0700 Subject: [PATCH 1/4] Add config flow and ssdp to songpal --- source/_integrations/songpal.markdown | 3 ++- source/_integrations/ssdp.markdown | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/_integrations/songpal.markdown b/source/_integrations/songpal.markdown index 9cee60553504..1a57b929789f 100644 --- a/source/_integrations/songpal.markdown +++ b/source/_integrations/songpal.markdown @@ -1,13 +1,14 @@ --- title: Sony Songpal description: Instructions on how to integrate Sony Songpal devices into Home Assistant. -logo: sony.png ha_category: - Media Player ha_iot_class: Local Push ha_release: 0.65 +ha_config_flow: true ha_codeowners: - '@rytilahti' + - '@shenxn' ha_domain: songpal --- diff --git a/source/_integrations/ssdp.markdown b/source/_integrations/ssdp.markdown index 7d7b6203cc6c..86b6a15e507a 100644 --- a/source/_integrations/ssdp.markdown +++ b/source/_integrations/ssdp.markdown @@ -31,3 +31,4 @@ The following integrations are automatically discovered by the SSDP integration: - [Roku](/integrations/roku/) - [Samsung TV](../samsungtv/) - [UPnP](../upnp/) + - [Sony Songpal](../songpal/) From e08715f4c3c6398649bedcb1640056ec92637f78 Mon Sep 17 00:00:00 2001 From: Xiaonan Shen Date: Fri, 1 May 2020 20:44:17 -0700 Subject: [PATCH 2/4] Change configuration domain --- source/_integrations/songpal.markdown | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/_integrations/songpal.markdown b/source/_integrations/songpal.markdown index 1a57b929789f..778b394d4c0c 100644 --- a/source/_integrations/songpal.markdown +++ b/source/_integrations/songpal.markdown @@ -30,9 +30,8 @@ A few notes: The platform will be loaded automatically by discovery component. If you want to manually configure it, add the following to your `configuration.yaml` file: ```yaml -media_player: - - platform: songpal - name: my soundbar +songpal: + - name: my soundbar endpoint: http://IP_ADDRESS:10000/sony ``` From 9e118aee30ddaa5848c4b163c9fe5517dd527c75 Mon Sep 17 00:00:00 2001 From: Xiaonan Shen Date: Fri, 1 May 2020 20:50:56 -0700 Subject: [PATCH 3/4] Update configuration text --- source/_integrations/songpal.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/songpal.markdown b/source/_integrations/songpal.markdown index 778b394d4c0c..0ca540b16fb2 100644 --- a/source/_integrations/songpal.markdown +++ b/source/_integrations/songpal.markdown @@ -27,7 +27,7 @@ A few notes: ## Configuration -The platform will be loaded automatically by discovery component. If you want to manually configure it, add the following to your `configuration.yaml` file: +Supported devices will be automatically discovered and can be set up through UI. If you want to manually configure it in yaml configuration, add the following to your `configuration.yaml` file: ```yaml songpal: From ed73d82f9631fc9ee54c3d8c59c4c9ede6bb9814 Mon Sep 17 00:00:00 2001 From: Xiaonan Shen Date: Fri, 1 May 2020 20:58:00 -0700 Subject: [PATCH 4/4] Fix lint --- source/_integrations/songpal.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/songpal.markdown b/source/_integrations/songpal.markdown index 0ca540b16fb2..57ae719727eb 100644 --- a/source/_integrations/songpal.markdown +++ b/source/_integrations/songpal.markdown @@ -27,7 +27,7 @@ A few notes: ## Configuration -Supported devices will be automatically discovered and can be set up through UI. If you want to manually configure it in yaml configuration, add the following to your `configuration.yaml` file: +Supported devices will be automatically discovered and can be set up through UI. If you want to manually configure it in YAML configuration, add the following to your `configuration.yaml` file: ```yaml songpal: