New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automations with multiple remote receivers - too many candidates found #4021
Comments
same problem, hope it will be fixed soon |
As it says: |
If I replace remote_receiver:
- id: lounge_receiver
pin:
number: 36
inverted: true with remote_receiver:
- receiver_id: lounge_receiver
pin:
number: 36
inverted: true I get Can you tell me where the |
In the automation. on_nec:
receiver_id: ... |
Ok, so this is my configuration and it throws me these errors: livingroom.yaml: In lambda function: I don't understand what should I change
|
After some messing around this has successfully compiled for me. Not tested on actual hardware yet. remote_receiver:
- id: lounge_receiver
pin:
number: 36
inverted: true
tolerance: 55%
on_nec:
receiver_id: lounge_receiver
then:
- if:
condition:
and:
- lambda: return x.address == 0xBF00;
- lambda: return x.command == 0xF20D; # Power button
then:
if:
condition:
- text_sensor.state:
id: lounge_activity
state: "Off"
then:
- switch.turn_off: av_power
else:
- script.execute: power_off_lounge
- id: kitchen_receiver
pin:
number: 13
inverted: true
tolerance: 55%
on_nec:
receiver_id: kitchen_receiver
then:
- if:
condition:
and:
- lambda: return x.address == 0xBF00;
- lambda: return x.command == 0xF20D; # Power button
then:
if:
condition:
- text_sensor.state:
id: kitchen_activity
state: "Off"
then:
- switch.turn_off: av_power
else:
- script.execute: power_off_kitchen
- id: bedroom_receiver
pin:
number: 2
inverted: true
tolerance: 55%
on_nec:
receiver_id: bedroom_receiver
then:
- if:
condition:
and:
- lambda: return x.address == 0xBF00;
- lambda: return x.command == 0xF20D; # Power button
then:
if:
condition:
- text_sensor.state:
id: bedroom_activity
state: "Off"
then:
- switch.turn_off: av_power
else:
- script.execute: power_off_bedroom |
I just realized how silly it is that it requires the |
Please test the linked PR with: external_components:
- source: github://pr#4477
components: [remote_base, remote_receiver]
refresh: 0s |
Hi, sorry but I can't succeed at configuring it. I also updated ESPHome It throws me the same errors:
This is the configuration
|
I don't know why you think that should work. Where did you find an example like that? Check the docs again for that trigger. |
Sorry, I thought it was fixed |
No, the rf_bridge parameters are different. You have to use the docs for the component you're using. |
The problem
I'm trying to build a multi-zone AV controller with three IR receivers, one for each room, with automations under each receiver. Which receiver receives the signal determines which TV performs the action. (Have not used binary sensor in this project due to the large number of sensors required and not enough memory).
I'm unable to validate the YAML with the error "Too many candidates found for 'receiver_id'". YAML validates successfully if I remove two receivers and leave only one.
Which version of ESPHome has the issue?
2022.12.3
What type of installation are you using?
pip
Which version of Home Assistant has the issue?
No response
What platform are you using?
ESP32
Board
Olimex ESP32-PoE-ISO
Component causing the issue
remote_receiver
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: