diff --git a/meta-ohos-blueprints/recipes-homeassistant/homeassistant/homeassistant-config-blueprint-dashboard.bb b/meta-ohos-blueprints/recipes-homeassistant/homeassistant/homeassistant-config-blueprint-dashboard.bb index 9e2abb80cff483336def9ca1c7dfee7fb632a27d..68f052349606c5f993e4695bdb5b49fed4244559 100644 --- a/meta-ohos-blueprints/recipes-homeassistant/homeassistant/homeassistant-config-blueprint-dashboard.bb +++ b/meta-ohos-blueprints/recipes-homeassistant/homeassistant/homeassistant-config-blueprint-dashboard.bb @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: Apache-2.0 -SUMMARY = "Home Assistant configuration for All Scenarios OS Smart Panel \ +SUMMARY = "Home Assistant configuration for Oniro Project Smart Panel \ blueprint" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://${ONIRO_COREBASE}/LICENSES/Apache-2.0.txt;md5=ef3dabb8f39493f4ea410bebc1d01755" @@ -29,11 +29,11 @@ do_install() { default_config: sensor: - - platform: allscenarios_sensors + - platform: oniroproject_sensors mac: "${SMART_HOME_SENSORS_MAC}" switch: - - platform: allscenarios_switch + - platform: oniroproject_switch mac: "${SMART_HOME_SWITCH_MAC}" homeassistant: @@ -56,27 +56,27 @@ EOF alias: Light on description: '' trigger: - - entity_id: sensor.all_scenarios_os_smarthome_device_presence + - entity_id: sensor.oniroproject_smarthome_device_presence from: 'False' platform: state to: 'True' condition: [] action: - data: {} - entity_id: switch.all_scenarios_os_smarthome_device_light + entity_id: switch.oniroproject_smarthome_device_light service: switch.turn_on - id: '1621503121253' alias: Light off description: '' trigger: - - entity_id: sensor.all_scenarios_os_smarthome_device_presence + - entity_id: sensor.oniroproject_smarthome_device_presence from: 'True' platform: state to: 'False' condition: [] action: - data: {} - entity_id: switch.all_scenarios_os_smarthome_device_light + entity_id: switch.oniroproject_smarthome_device_light service: switch.turn_off EOF diff --git a/meta-ohos-blueprints/recipes-homeassistant/ohsmarthome-py/ohsmarthome-py_git.bb b/meta-ohos-blueprints/recipes-homeassistant/ohsmarthome-py/ohsmarthome-py_git.bb index ee7a16b53d4dbb03acc2e580c1363fd7383cae33..04b86ab21942e53df52f7537d063ffd02313769c 100644 --- a/meta-ohos-blueprints/recipes-homeassistant/ohsmarthome-py/ohsmarthome-py_git.bb +++ b/meta-ohos-blueprints/recipes-homeassistant/ohsmarthome-py/ohsmarthome-py_git.bb @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: Apache-2.0 -SUMMARY = "All Scenarios OS SmartHome device interface library" +SUMMARY = "Oniro Project SmartHome device interface library" HOMEPAGE = "https://git.ostc-eu.org/OSTC/OHOS/components/ohsmarthome-py/" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSES/Apache-2.0.txt;md5=c846ebb396f8b174b10ded4771514fcc" diff --git a/meta-ohos-blueprints/recipes-homeassistant/smart-home-homeassistant-plugin/smart-home-homeassistant-plugin_git.bb b/meta-ohos-blueprints/recipes-homeassistant/smart-home-homeassistant-plugin/smart-home-homeassistant-plugin_git.bb index ca6bebf33033f48e288c8cdfb9fe810d9693f478..a886a5e5fd8dbfb20a2c21b9b7daaa5e6ac526c3 100644 --- a/meta-ohos-blueprints/recipes-homeassistant/smart-home-homeassistant-plugin/smart-home-homeassistant-plugin_git.bb +++ b/meta-ohos-blueprints/recipes-homeassistant/smart-home-homeassistant-plugin/smart-home-homeassistant-plugin_git.bb @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: Apache-2.0 -SUMMARY = "Home Assistant custom component for All Scenarios OS SmartHome device" +SUMMARY = "Home Assistant custom component for Oniro Project SmartHome device" HOMEPAGE = "https://git.ostc-eu.org/OSTC/OHOS/components/smart_home_homeassistant_plugin/" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSES/Apache-2.0.txt;md5=c846ebb396f8b174b10ded4771514fcc" @@ -15,7 +15,7 @@ SRC_OPT_BRANCH = "branch=master" SRC_OPTIONS = "${SRC_OPT_PROTO};${SRC_OPT_DEST};${SRC_OPT_NAME};${SRC_OPT_BRANCH}" SRC_URI = "git://git.ostc-eu.org/OSTC/OHOS/components/smart_home_homeassistant_plugin.git;${SRC_OPTIONS}" -SRCREV_smart_home_homeassistant_plugin = "3f3b0aa9b6b5570b01dea26265577871a4bb3ab5" +SRCREV_smart_home_homeassistant_plugin = "63c39b0eebab086ba793be8e7963c2d3c69cbedc" S = "${WORKDIR}/${SRC_OPT_CLONE_DIR}" @@ -26,13 +26,13 @@ do_configure[noexec] = "1" do_compile[noexec] = "1" do_install() { - install -d ${D}${HOMEASSISTANT_CONFIG_DIR}/custom_components/allscenarios_sensors/ - install ${S}/custom_components/allscenarios_sensors/*.py \ - ${D}${HOMEASSISTANT_CONFIG_DIR}/custom_components/allscenarios_sensors/ + install -d ${D}${HOMEASSISTANT_CONFIG_DIR}/custom_components/oniroproject_sensors/ + install ${S}/custom_components/oniroproject_sensors/*.py \ + ${D}${HOMEASSISTANT_CONFIG_DIR}/custom_components/oniroproject_sensors/ - install -d ${D}${HOMEASSISTANT_CONFIG_DIR}/custom_components/allscenarios_switch/ - install ${S}/custom_components/allscenarios_switch/*.py \ - ${D}${HOMEASSISTANT_CONFIG_DIR}/custom_components/allscenarios_switch/ + install -d ${D}${HOMEASSISTANT_CONFIG_DIR}/custom_components/oniroproject_switch/ + install ${S}/custom_components/oniroproject_switch/*.py \ + ${D}${HOMEASSISTANT_CONFIG_DIR}/custom_components/oniroproject_switch/ chown -R "${HOMEASSISTANT_USER}":homeassistant "${D}${HOMEASSISTANT_CONFIG_DIR}" }