diff --git a/tests/components/zigbee/common.yaml b/tests/components/zigbee/common.yaml index 4518e39060..ce59f4a6ae 100644 --- a/tests/components/zigbee/common.yaml +++ b/tests/components/zigbee/common.yaml @@ -14,9 +14,12 @@ sensor: name: "Analog 1" lambda: return 10.0; accuracy_decimals: 0 + device_class: temperature + unit_of_measurement: "°C" - platform: template name: "Analog 2" lambda: return 11.0; + unit_of_measurement: "°C" - platform: template name: "Analog 3" lambda: return 12.0; @@ -41,6 +44,7 @@ number: min_value: 2 max_value: 100 step: 1 + unit_of_measurement: "°C" time: - platform: zigbee diff --git a/tests/components/zigbee/test.nrf52-mcumgr.yaml b/tests/components/zigbee/test.nrf52-mcumgr.yaml index a81feea069..cdead0db90 100644 --- a/tests/components/zigbee/test.nrf52-mcumgr.yaml +++ b/tests/components/zigbee/test.nrf52-mcumgr.yaml @@ -1,4 +1,4 @@ -<<: !include common_nrf52.yaml +<<: !include common.yaml zigbee: router: true diff --git a/tests/components/zigbee/test.nrf52-xiao-ble.yaml b/tests/components/zigbee/test.nrf52-xiao-ble.yaml index acfbc9e996..64134e536d 100644 --- a/tests/components/zigbee/test.nrf52-xiao-ble.yaml +++ b/tests/components/zigbee/test.nrf52-xiao-ble.yaml @@ -1,4 +1,4 @@ -<<: !include common_nrf52.yaml +<<: !include common.yaml zigbee: wipe_on_boot: once