From 05659e24e30e19c42580dbe7ef7102548b87dd9d Mon Sep 17 00:00:00 2001 From: Andreas Rydbrink Date: Wed, 6 Mar 2019 22:57:29 +0100 Subject: [PATCH 01/82] Create media_player.heos.page --- source/_components/media_player.heos.page | 55 +++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 source/_components/media_player.heos.page diff --git a/source/_components/media_player.heos.page b/source/_components/media_player.heos.page new file mode 100644 index 00000000000..87046056200 --- /dev/null +++ b/source/_components/media_player.heos.page @@ -0,0 +1,55 @@ +--- +layout: page +title: "Denon HEOS speakers" +description: "Instructions on how to integrate Denon HEOS into Home Assistant." +date: 2019-03-06 22:00 +sidebar: true +comments: false +sharing: true +footer: true +ha_category: Media Player +--- + +The `heos` platform allows you to control a [Denon HEOS Speakers](http://heosbydenon.denon.com) from Home Assistant. + +Tested devices: + +- Denon HEOS-1 + +To add a Denon HEOS speaker to your installation, add the following to your `configuration.yaml` file: + +## {% linkable_title HEOS platform %} + +```yaml +# Example configuration.yaml entry +media_player: + - platform: heos + name: HEOS Player + host: HEOS-1 +``` + +{% configuration %} +host: + description: "Address of the device. Example: 192.168.1.32" + required: false + type: string +name: + description: The name of the device + required: false + type: string +username: + description: The username for authentication. + required: false + type: string +password: + description: The password for authentication. + required: false + type: string +{% endconfiguration %} + +A few notes for platform: heos + +- Does not handle multiple speakers by groups. +- Seeking is not implemented at this moment. + +[HEOS]: /components/media_player.heos/ From e960750ece03011936c6048dec63b3107e6653b9 Mon Sep 17 00:00:00 2001 From: Andreas Rydbrink Date: Thu, 7 Mar 2019 19:48:28 +0100 Subject: [PATCH 02/82] Update media_player.heos.page --- source/_components/media_player.heos.page | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_components/media_player.heos.page b/source/_components/media_player.heos.page index 87046056200..cc1c57995d5 100644 --- a/source/_components/media_player.heos.page +++ b/source/_components/media_player.heos.page @@ -7,7 +7,9 @@ sidebar: true comments: false sharing: true footer: true +logo: heos.png ha_category: Media Player +ha_release: "0.90" --- The `heos` platform allows you to control a [Denon HEOS Speakers](http://heosbydenon.denon.com) from Home Assistant. From ab81b77c0be9fb127c77ff60d03f13f31cd4b2f2 Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Thu, 7 Mar 2019 19:49:21 +0100 Subject: [PATCH 03/82] Update source/_components/media_player.heos.page Co-Authored-By: easink --- source/_components/media_player.heos.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/media_player.heos.page b/source/_components/media_player.heos.page index cc1c57995d5..99ea20f0b3c 100644 --- a/source/_components/media_player.heos.page +++ b/source/_components/media_player.heos.page @@ -27,7 +27,7 @@ To add a Denon HEOS speaker to your installation, add the following to your `con media_player: - platform: heos name: HEOS Player - host: HEOS-1 + host: IP_ADDRESS ``` {% configuration %} From 93690a7eb4cdde91b32a29f46ba981b57da14548 Mon Sep 17 00:00:00 2001 From: Andreas Rydbrink Date: Thu, 7 Mar 2019 22:06:08 +0100 Subject: [PATCH 04/82] Update media_player.heos.page --- source/_components/media_player.heos.page | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/_components/media_player.heos.page b/source/_components/media_player.heos.page index 99ea20f0b3c..8d8c5fe7929 100644 --- a/source/_components/media_player.heos.page +++ b/source/_components/media_player.heos.page @@ -32,13 +32,15 @@ media_player: {% configuration %} host: - description: "Address of the device. Example: 192.168.1.32" + description: "Address of the device. Example: 192.168.1.32". required: false type: string + default: Tries to resolves by UPnP (SSDP). name: description: The name of the device required: false type: string + default: HEOS Player username: description: The username for authentication. required: false From 7f7b53ae62b08ae51d68bb002b2ca7e641bb2aa6 Mon Sep 17 00:00:00 2001 From: Andreas Rydbrink Date: Thu, 7 Mar 2019 22:08:45 +0100 Subject: [PATCH 05/82] Update media_player.heos.page --- source/_components/media_player.heos.page | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/_components/media_player.heos.page b/source/_components/media_player.heos.page index 8d8c5fe7929..2ba114d63a4 100644 --- a/source/_components/media_player.heos.page +++ b/source/_components/media_player.heos.page @@ -20,8 +20,6 @@ Tested devices: To add a Denon HEOS speaker to your installation, add the following to your `configuration.yaml` file: -## {% linkable_title HEOS platform %} - ```yaml # Example configuration.yaml entry media_player: @@ -35,7 +33,7 @@ host: description: "Address of the device. Example: 192.168.1.32". required: false type: string - default: Tries to resolves by UPnP (SSDP). + default: Tries to resolve by UPnP (SSDP). name: description: The name of the device required: false From 9ce0d14ef463d2d6266efa8ee5406160d4e28324 Mon Sep 17 00:00:00 2001 From: Andreas Rydbrink Date: Thu, 7 Mar 2019 22:16:52 +0100 Subject: [PATCH 06/82] Added HEOS logo --- source/images/supported_brands/heos.png | Bin 0 -> 4422 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 source/images/supported_brands/heos.png diff --git a/source/images/supported_brands/heos.png b/source/images/supported_brands/heos.png new file mode 100644 index 0000000000000000000000000000000000000000..49c7d32cee93e4e1cc4f90aa3ab0ea59061bba51 GIT binary patch literal 4422 zcmaJ_c|26@+qY#GA|f${vKzBtX6&=rvXkWznGF+Wj2R+ZWG9p?QMR&`Jtw8__`&vGqb55d-m5BhaBrgjKi-4Ia#*R5Y zW!@NWPUaIlympB>NHDO@41204;~Xx4#9~CG;z9})wACwY-6dcc*3tv~>os0Vb?wA8TlN0YqC zrso4l_UEk}2rujKVJ$R8LS8V+b)th|FsMP0{&KE_~-%u zA?0jo13*&)NB~WBO*MiB1PstdsDm|O2ryU`0MP(LL0}CK1fd27BVpP|uomF=1!Q^) zAbKM0Fvh=qF(o~qH-q7i1cA<-JEwjQs!k2?0)Y_-1V{q{fKY(FzhCG2 zTbs_XBmFOpf7PZtg!q#{b|gAAFo3|!ho{^hFf(@l-O(>aCL5%60GXK-oG*q-2=pUS z7-kqfAah5ZNG2kUG~sX*L>mD|f#Fyv7>q)ru^0qa8*U7RYoigcKQ{gitBo->hG~Jp zXea~?24k53EtD|~g3*Ftj1VX-_#dnph0efH2&6xL$xOe$u^Rssi$n*Ia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`6^ajpCM;URrA`L~x2# zts>&mouBV2<%I@wP}}E}j2_c~)(LK7Jyx|F$(#IACiWSz`g!#lV*Uj=(CxYncZt#| zQyB>hc81`il*qq0cdtPsYvCy@yum|_sLv~ zkIQdb4^!+&pIo@ujDli2_||S!*7IN#Pp8&%#~Q|TlrUeL^ifd_d^$S^BZy7r0%BXQ zhMydS-%58P_uiil8XR%&3gmE2zjgkQ&IX*fC&XB_u^%{H;%fc*X=?CzOxw+X&HmSy zcSNs7KVci&Z^=zu{OkH^c(PB2Ta~PI<3+44v7^}@`8`15)9uY8LG!|AvF^iRq}aN_ z>|^Tp(!P!AojtfDaXfC$LebP-p8W(zl7p0fTgs(A7b#SHV64umv){QP)i*+K`w3il z+Jx=hPnjH4)rFVu@JrwCzS9v6w7S#MZYyRo@xi|#B@NzNVlDg?CW&}7x5`=^Eu%4s z_oImq%x~=l=AfSIF34ezg{sBf9_E%Ck@w#c5mN`za{huRFPJ}$%&R{b8FW_CJ7wb( zrvm4kg}uej{LSWI$PTjDhVyjdI%H&>t*-&TRx3B~{*%tK0K|6&7opch^JC+C3b~X< zr+t+3Bl?x?qW57f8|y1i+yv7(a? z>&z~>a6i;^F3NGVtxIiai|tev6sWrdkLi7+LV(tke=tf}qp1wE9BJ6#|FTWXfotV^ zY;c8H+jB)nK`US2qZ)7qs_VXKj~Blzzg{|}O7t5OC+DD8CmdaxqIKu1JChT&MZ8wO zc;L00TOFPe--8qGVIxyl0atg*iwZ`sErm*DZe(BhiT9e&$d0QE7tV2BMh^?+-gtr9 ziYt8-=$myQ6vlq2a6%Mz)?t#;=k7T@V+$(n5f>8a2MEo+DHCFTEpV_2^F|rQpaAgV)ks!OmNz28p52E+ R7k~ZPFvD75s!<-%{{zix!P5W$ literal 0 HcmV?d00001 From 2de5802a46435ae2d76de922c3ed3789164d8a5b Mon Sep 17 00:00:00 2001 From: Finbarr Brady Date: Tue, 12 Mar 2019 12:21:56 +0000 Subject: [PATCH 07/82] Rebrand Cisco Webex Teams --- .../notify.cisco_webex_teams.markdown | 146 ++++++++++++++++++ source/_components/notify.ciscospark.markdown | 51 ------ .../cisco_webex_teams/rich_formatting.png | Bin 0 -> 476555 bytes .../supported_brands/cisco_webex_teams.png | Bin 0 -> 132860 bytes source/images/supported_brands/ciscospark.png | Bin 2765 -> 0 bytes 5 files changed, 146 insertions(+), 51 deletions(-) create mode 100644 source/_components/notify.cisco_webex_teams.markdown delete mode 100644 source/_components/notify.ciscospark.markdown create mode 100644 source/images/components/cisco_webex_teams/rich_formatting.png create mode 100644 source/images/supported_brands/cisco_webex_teams.png delete mode 100644 source/images/supported_brands/ciscospark.png diff --git a/source/_components/notify.cisco_webex_teams.markdown b/source/_components/notify.cisco_webex_teams.markdown new file mode 100644 index 00000000000..6233859e33c --- /dev/null +++ b/source/_components/notify.cisco_webex_teams.markdown @@ -0,0 +1,146 @@ +--- +layout: page +title: "Cisco Webex Teams" +description: "Instructions on how to add Cisco Webex Teams notifications to Home Assistant." +date: 2017-02-20 15:00 +sidebar: true +comments: false +sharing: true +footer: true +logo: cisco_webex_teams.png +ha_category: Notifications +ha_release: "0.40" +--- + +The `cisco_webex_teams` notification platform allows you to deliver rich notifications from Home Assistant to [Cisco Webex Teams](https://www.webex.com/team-collaboration.html). + +To use this notification platform you will simply need an app (bot) token. To obtain a token visit [Cisco Webex for Developers](https://developer.webex.com/). Detailed instructions can be found in the section titled **Creating a Webex Teams Bot** on the [Webex Teams bot documentation](https://developer.webex.com/docs/bots). + +You also need to specify the `Cisco Webex Teams` `roomid`. The `roomid` can also be found at [Cisco Webex for Developers](https://developer.webex.com/). Just look in the Documentation under Rooms. **Note:** you must add the bot as a participant to the room specified here, in order for the bot to have permission to post in that room. + +To enable this platform in your installation, add the following to your `configuration.yaml` file: + +```yaml +# Example configuration.yaml entry +notify: + - name: NOTIFIER_NAME + platform: cisco_webex_teams + token: YOUR_BOT_TOKEN + roomid: CISCO_WEBEX_TEAMS_ROOMID +``` + +## {% linkable_title Rich Text Formatting %} + +Webex Teams clients can render rich text via a whitelisted set of html tags. + +For example, you could configure automations to display details in an easy to read fashion like so: + +

+ +Rich text as displayed in the macOS client. +

+ +Here are the automations for the above screenshot: + +```yaml + +# Rich Text Example 1. +# Show a one line message with a red banner +- alias: "Notify On Build Failing" + trigger: + - platform: webhook + webhook_id: build_failed + action: + service: notify.cisco_webex_teams_notify + data: + message: "
Build 0.89.5 compile failed." + + +# Rich Text Example 2. +# Show a title and multi-line message with a yellow banner, +# with lists, a person mention and a link +- alias: "Notify On Build Unstable" + trigger: + - platform: webhook + webhook_id: build_unstable + action: + service: notify.cisco_webex_teams_notify + data: + title: "Build 0.89.6 is unstable." + message: "
Version 0.89.6 failed verifications. + +
    +
  • test_osx +
  • test_win_lint + +
  • ... and 4 more. +
+

<@personEmail:sparkbotjeeves@sparkbot.io>

+

View Test Report

+ " + +# Rich Text Example 3. +# Show a title and multi-line message with a blue banner, +# with lists, a person mention and a link +- alias: "Notify On Build Passing" + trigger: + - platform: webhook + webhook_id: build_passed + action: + service: notify.cisco_webex_teams_notify + data: + title: "✅ Version 0.89.7 passed all tests and deployed to production!" + message: "
Version 0.89.7 passed all verifications. + +
    +
  • test_cov +
  • test_osx +
  • test_win +
  • test_linux +
  • ... and 45 more. +
+ " +``` + +The following is a list of the allowed html tags and attributes: + +`<@personEmail:email@examplecompany.com>` +`` +`` +`` +`` +`
`
+``
+`
` +`

` +`