mirror of
https://github.com/esphome/esphome.git
synced 2026-10-08 03:54:03 +00:00
[remote_base] Cover shared, empty and trigger argument abbwelcome payloads in the component test (#20307)
This commit is contained in:
@@ -5,6 +5,13 @@ number:
|
||||
min_value: 0
|
||||
max_value: 255
|
||||
step: 1
|
||||
on_value:
|
||||
- remote_transmitter.transmit_abbwelcome:
|
||||
source_address: 0x1234
|
||||
destination_address: 0x5678
|
||||
message_type: 0x01
|
||||
data: !lambda |-
|
||||
return {(uint8_t) x, 0x20};
|
||||
|
||||
button:
|
||||
- platform: template
|
||||
@@ -260,6 +267,22 @@ button:
|
||||
destination_address: 0x5678
|
||||
message_type: 0x01
|
||||
data: [0x10, 0x20, 0x30]
|
||||
- platform: template
|
||||
name: ABBWelcome static same data
|
||||
on_press:
|
||||
remote_transmitter.transmit_abbwelcome:
|
||||
source_address: 0x1234
|
||||
destination_address: 0x5678
|
||||
message_type: 0x02
|
||||
data: [0x10, 0x20, 0x30]
|
||||
- platform: template
|
||||
name: ABBWelcome static empty data
|
||||
on_press:
|
||||
remote_transmitter.transmit_abbwelcome:
|
||||
source_address: 0x1234
|
||||
destination_address: 0x5678
|
||||
message_type: 0x03
|
||||
data: []
|
||||
- platform: template
|
||||
name: ABBWelcome lambda
|
||||
on_press:
|
||||
|
||||
Reference in New Issue
Block a user