mirror of
https://github.com/esphome/esphome.git
synced 2026-10-05 18:41:32 +00:00
Revert "[tests] Fail component test merge on conflicting duplicate IDs" (#16848)
This commit is contained in:
@@ -79,7 +79,7 @@ switch:
|
||||
number:
|
||||
- platform: template
|
||||
name: "Test Number"
|
||||
id: uart_test_number
|
||||
id: test_number
|
||||
optimistic: true
|
||||
min_value: 0
|
||||
max_value: 100
|
||||
@@ -103,7 +103,7 @@ button:
|
||||
- uart.write:
|
||||
id: uart_id
|
||||
data: !lambda |-
|
||||
std::string cmd = "VALUE=" + str_sprintf("%.0f", id(uart_test_number).state) + "\r\n";
|
||||
std::string cmd = "VALUE=" + str_sprintf("%.0f", id(test_number).state) + "\r\n";
|
||||
return std::vector<uint8_t>(cmd.begin(), cmd.end());
|
||||
|
||||
event:
|
||||
|
||||
Reference in New Issue
Block a user