mirror of
https://github.com/esphome/esphome.git
synced 2025-01-09 14:21:46 +01:00
Adding support for Onkyo RI wire-based protocol for remote device
control.
This commit is contained in:
parent
e22cadd90e
commit
600d0ca342
2 changed files with 10 additions and 0 deletions
|
@ -89,6 +89,11 @@ remote_receiver:
|
||||||
- logger.log:
|
- logger.log:
|
||||||
format: "on_nexa: %lu %u %u %u %u"
|
format: "on_nexa: %lu %u %u %u %u"
|
||||||
args: ["long(x.device)", "x.group", "x.state", "x.channel", "x.level"]
|
args: ["long(x.device)", "x.group", "x.state", "x.channel", "x.level"]
|
||||||
|
on_onkyori:
|
||||||
|
then:
|
||||||
|
- logger.log:
|
||||||
|
format: "on_onkyori: %lu"
|
||||||
|
args: ["long(x.data)"]
|
||||||
on_panasonic:
|
on_panasonic:
|
||||||
then:
|
then:
|
||||||
- logger.log:
|
- logger.log:
|
||||||
|
|
|
@ -190,3 +190,8 @@ button:
|
||||||
channel: 1
|
channel: 1
|
||||||
button: 1
|
button: 1
|
||||||
check: 1
|
check: 1
|
||||||
|
- platform: template
|
||||||
|
name: OnkyoRI
|
||||||
|
on_press:
|
||||||
|
remote_transmitter.transmit_onkyori:
|
||||||
|
data: 0xD9
|
||||||
|
|
Loading…
Reference in a new issue