Revert "[tests] Fail component test merge on conflicting duplicate IDs" (#16848)

This commit is contained in:
J. Nick Koston
2026-06-05 19:37:19 -05:00
committed by GitHub
parent 8f8a70b2be
commit 2a4913713a
115 changed files with 252 additions and 482 deletions
+12 -12
View File
@@ -1,20 +1,20 @@
binary_sensor:
- platform: template
id: binary_sensor_map_bin1
id: bin1
lambda: |-
if (millis() > 10000) {
return true;
}
return false;
- platform: template
id: binary_sensor_map_bin2
id: bin2
lambda: |-
if (millis() > 20000) {
return true;
}
return false;
- platform: template
id: binary_sensor_map_bin3
id: bin3
lambda: |-
if (millis() > 30000) {
return true;
@@ -26,33 +26,33 @@ sensor:
name: Binary Sensor Map Group
type: group
channels:
- binary_sensor: binary_sensor_map_bin1
- binary_sensor: bin1
value: 10.0
- binary_sensor: binary_sensor_map_bin2
- binary_sensor: bin2
value: 15.0
- binary_sensor: binary_sensor_map_bin3
- binary_sensor: bin3
value: 100.0
- platform: binary_sensor_map
name: Binary Sensor Map Sum
type: sum
channels:
- binary_sensor: binary_sensor_map_bin1
- binary_sensor: bin1
value: 10.0
- binary_sensor: binary_sensor_map_bin2
- binary_sensor: bin2
value: 15.0
- binary_sensor: binary_sensor_map_bin3
- binary_sensor: bin3
value: 100.0
- platform: binary_sensor_map
name: Binary Sensor Map Bayesian
type: bayesian
prior: 0.4
observations:
- binary_sensor: binary_sensor_map_bin1
- binary_sensor: bin1
prob_given_true: 0.9
prob_given_false: 0.4
- binary_sensor: binary_sensor_map_bin2
- binary_sensor: bin2
prob_given_true: 0.7
prob_given_false: 0.05
- binary_sensor: binary_sensor_map_bin3
- binary_sensor: bin3
prob_given_true: 0.8
prob_given_false: 0.2