Aha. In HA, my AVR has two zones, and each is represented by an entity, "media_player.theater_preamp_zone_1", and "media_player.theater_preamp_zone_2". The first is enabled and the second disabled (both the default for this integration.)
HAGateway imported both of these together as a single device with the Entities field containing both: "media_player.theater_preamp_zone_1,media_player.theater_preamp_zone_2". That seems a little broken to start with - is that supposed to control _both_ zones, or...? Anyway, beyond that, looking at the logs, myServer was sending commands to zone_2, but not zone_1. I edited the Entities field to contain only zone_1, and now basic commands appear to work. That's progress. Yay!
Source selection still doesn't seem to work, though. Maybe I'm doing something wrong? In Driver Command Testing, I'm trying the AV:Source command, and trying to edit the Actual Command with different things for the source name: "AV|10~Source~BD", "AV|10~Source~0", etc, nothing seems to do anything. The log looks like this:
Code:
03/05/2024 10:59:15.59 · DEBUG · Server.doCommand - AV|10~Source~BD from dashboard-fx-cg1n
03/05/2024 10:59:15.59 · DEBUG · HAGateway.doCommand - Cmd=[10~Source~BD] Client=[dashboard-fx-cg1n]
03/05/2024 10:59:15.59 · DEBUG · HAGateway.RX Domain Event - {"domain": "media_player","service": "select_source","service_data": {"entity_id": "media_player.theater_preamp_zone_1","source": ""}}
03/05/2024 10:59:15.59 · DEBUG · HAGateway.RX Domain Event - {"domain": "media_player","service": "select_source","service_data": {"entity_id": "media_player.theater_preamp_zone_1","source": ""}}
03/05/2024 10:59:15.59 · DEBUG · HAGateway.RX Domain Event - {"domain": "media_player","service": "select_source","service_data": {"entity_id": "media_player.theater_preamp_zone_1","source": ""}}
03/05/2024 10:59:15.59 · DEBUG · HAGateway.RX Domain Event - {"domain": "media_player","service": "select_source","service_data": {"entity_id": "media_player.theater_preamp_zone_1","source": ""}}
03/05/2024 10:59:15.59 · DEBUG · HAGateway.RX Domain Event - {"domain": "media_player","service": "select_source","service_data": {"entity_id": "media_player.theater_preamp_zone_1","source": ""}}
03/05/2024 10:59:15.59 · DEBUG · HAGateway.RX Domain Event - {"domain": "media_player","service": "select_source","service_data": {"entity_id": "media_player.theater_preamp_zone_1","source": ""}}
03/05/2024 10:59:15.59 · DEBUG · HAGateway.RX Domain Event - {"domain": "media_player","service": "select_source","service_data": {"entity_id": "media_player.theater_preamp_zone_1","source": ""}}
03/05/2024 10:59:15.59 · DEBUG · HAGateway.RX Domain Event - {"domain": "media_player","service": "select_source","service_data": {"entity_id": "media_player.theater_preamp_zone_1","source": ""}}
03/05/2024 10:59:15.59 · DEBUG · HAGateway.RX Domain Event - {"domain": "media_player","service": "select_source","service_data": {"entity_id": "media_player.theater_preamp_zone_1","source": ""}}
03/05/2024 10:59:15.59 · DEBUG · HAGateway.RX Domain Event - {"domain": "media_player","service": "select_source","service_data": {"entity_id": "media_player.theater_preamp_zone_1","source": ""}}
The empty source attribute is clearly suspicious. (It's also a little weird that it apparently sends the event ten times, but you do you I guess.)