mirror of
https://github.com/esphome/esphome.git
synced 2026-03-02 18:58:20 -07:00
[sen6x] Fix test sensor ID collisions with sen5x
The sen6x test YAML used identical sensor IDs (pm_1_0, pm_2_5, pm_4_0, pm_10_0) as sen5x, causing ID redefinition errors when both components are tested together in grouped builds. Prefix the sen6x IDs with sen6x_ to make them unique.
This commit is contained in:
@@ -12,19 +12,19 @@ sensor:
|
||||
accuracy_decimals: 0
|
||||
pm_1_0:
|
||||
name: PM <1µm Weight concentration
|
||||
id: pm_1_0
|
||||
id: sen6x_pm_1_0
|
||||
accuracy_decimals: 1
|
||||
pm_2_5:
|
||||
name: PM <2.5µm Weight concentration
|
||||
id: pm_2_5
|
||||
id: sen6x_pm_2_5
|
||||
accuracy_decimals: 1
|
||||
pm_4_0:
|
||||
name: PM <4µm Weight concentration
|
||||
id: pm_4_0
|
||||
id: sen6x_pm_4_0
|
||||
accuracy_decimals: 1
|
||||
pm_10_0:
|
||||
name: PM <10µm Weight concentration
|
||||
id: pm_10_0
|
||||
id: sen6x_pm_10_0
|
||||
accuracy_decimals: 1
|
||||
nox:
|
||||
name: NOx
|
||||
|
||||
Reference in New Issue
Block a user