1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 19:02:18 +01:00

Adding ignore bits to narrow compare of received codes (#650)

* Adding bitmask to narrow compare of received codes
Updated test to add mask configuration

* Lint

* Handle bitmask as ignore characters per review comment

* Fixed test to cover ignore bits

* Lint

* Eliminate separate set_mask method per review comment
This commit is contained in:
mtl010957
2019-06-26 14:47:34 -05:00
committed by Otto Winter
parent 0dfab4d93c
commit 49f9ad66db
4 changed files with 32 additions and 3 deletions

View File

@@ -1018,7 +1018,7 @@ switch:
name: RC Switch Raw
turn_on_action:
remote_transmitter.transmit_rc_switch_raw:
code: '001010011001111101011011'
code: '00101001100111110101xxxx'
protocol: 1
- platform: template
name: RC Switch Type A