From a0553134a9eb62e2afc8ea56901e5e6f80f25edf Mon Sep 17 00:00:00 2001
From: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Date: Tue, 13 Apr 2021 17:48:21 +0200
Subject: [PATCH] python3-homeassistant: Include HomeAssistant plugin through
 RRECOMMENDS

The plugin is used by Home Assistant in the Smart Home blueprint scenario
to communicate with IoT sensors and light switchd devices.

Instead of adding smart-home-homeassistant-plugin to installation
packages list, include it via RRECOMMENDS for HomeAssistant.

Signed-off-by: Wojciech Zmuda <wojciech.zmuda@huawei.com>
Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 .../homeassistant/python3-homeassistant_%.bbappend           | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 meta-ohos-blueprints/recipes-homeassistant/homeassistant/python3-homeassistant_%.bbappend

diff --git a/meta-ohos-blueprints/recipes-homeassistant/homeassistant/python3-homeassistant_%.bbappend b/meta-ohos-blueprints/recipes-homeassistant/homeassistant/python3-homeassistant_%.bbappend
new file mode 100644
index 00000000..2a43bd78
--- /dev/null
+++ b/meta-ohos-blueprints/recipes-homeassistant/homeassistant/python3-homeassistant_%.bbappend
@@ -0,0 +1,5 @@
+# SPDX-FileCopyrightText: 2021 Huawei Inc.
+#
+# SPDX-License-Identifier: Apache-2.0
+
+RRECOMMENDS_${PN} += "smart-home-homeassistant-plugin"
-- 
GitLab