mirror of
https://github.com/esphome/esphome.git
synced 2026-10-06 19:06:37 +00:00
[tests] Give the binary_sensor and sensor publish targets distinct ids (#19564)
This commit is contained in:
@@ -7,15 +7,15 @@ sensor:
|
||||
update_interval: 1s
|
||||
on_value:
|
||||
- sensor.template.publish:
|
||||
id: publish_target
|
||||
id: sensor_publish_target
|
||||
state: 42.0
|
||||
- sensor.template.publish:
|
||||
id: publish_target
|
||||
id: sensor_publish_target
|
||||
state: !lambda "return x * 2.0;"
|
||||
|
||||
- platform: template
|
||||
name: "Publish Target"
|
||||
id: publish_target
|
||||
id: sensor_publish_target
|
||||
|
||||
# Streaming filters (window_size == send_every) - uses StreamingFilter base class
|
||||
- platform: copy
|
||||
|
||||
Reference in New Issue
Block a user