I haven’t looked at this in a while since I had a workaround but now I am trying to integrate scenes management into my system and I think I ran into this again. I have the following scene defined in my scenes.yaml file
- name: Foyer
responders:
- foyer_lamps: 1
- foyer_lamps: 2
- den_overhead: 5
controllers:
- den_overhead: 5
- modem: 21
If I run a sync command on foyer_lamps (dry_run) and look at the output I see this
2020-10-16 18:56:44 UI Base: Would Add 0fef: 53.bd.2e grp: 21 type: RESP data: 0xff 0x00 0x01:
2020-10-16 18:56:44 DEBUG CommandSeq: Running command 8 of 8
2020-10-16 18:56:44 UI Base: Would Add 0fe7: 53.bd.2e grp: 21 type: RESP data: 0xff 0x00 0x01:
2020-10-16 18:56:44 UI Mqtt: Sync complete
It looks like the code is going to insert a responder for group 1 twice instead of separate responders for group 1 & 2
This seems allot like the original issue but maybe not.
Edit:
This seems to be an issue with how on/off outlets are defined in the config file.
With this in scenes.yaml
- name: Foyer
responders:
- foyer_lamps: 1
- foyer_lamps: 2
- den_overhead: 5
controllers:
- den_overhead: 5
- modem: 21
If foyer_lamps is defined like this in config.yaml:
# KeypadLinc switches (on/off+scene controller).
keypad_linc_sw:
- 46.59.84: 'foyer_lamps'
The sync output looks like this (which looks correct to me):
2020-10-17 13:28:46 UI Base: Would Add 0fef: 53.bd.2e grp: 21 type: RESP data: 0xff 0x00 0x01:
2020-10-17 13:28:46 DEBUG CommandSeq: Running command 9 of 9
2020-10-17 13:28:46 UI Base: Would Add 0fe7: 53.bd.2e grp: 21 type: RESP data: 0xff 0x00 0x02:
2020-10-17 13:28:46 UI Mqtt: Sync complete
If foyer_lamps is defined like this in config.yaml:
# On/off ouetlets
outlet:
- 46.59.84: 'foyer_lamps'
The sync output looks like this:
2020-10-16 18:56:44 UI Base: Would Add 0fef: 53.bd.2e grp: 21 type: RESP data: 0xff 0x00 0x01:
2020-10-16 18:56:44 DEBUG CommandSeq: Running command 8 of 8
2020-10-16 18:56:44 UI Base: Would Add 0fe7: 53.bd.2e grp: 21 type: RESP data: 0xff 0x00 0x01:
2020-10-16 18:56:44 UI Mqtt: Sync complete