Hi, welcome. First steps are hard, especially if there’s yaml involved. Luckily it is needed less and less.
I assume you mean configuration.yaml? Have you looked at the log to see if there are any errors in your configuration file? If there are not: was the receiver on when you restarted HA? It is a wild guess, but maybe if the IP is not reachable during the first configuration, the entity does not get created?
You should have a media player entity after a restart. How did you check to determine the entity is not there?
sorry - configuration.yaml
So I should have an entity called “Lounge Amp” corrrect?
I dont have one of those and there seems nothing in logs to suggest theres an issue - seems to just be ignoring?
OK I am back to the original question - thanks @tom_l for your help - I have now got working rest commands to set and get values from my RX-V3900.
So - now what I want to do is getr these rest values and have them shoing on a dashboard for control.
Ive tried to follow and modify the yaml from the linked above thread but I am still learning and its written as if you know what you are doing (whbich I dont).
My goal for learning is to have an on/off switch for the Amp and a slider for the volume - both showing the current state of the amp.
my YAML REST commands to set values are:
yamaha_main_zone_vol:
url: 'http://192.168.1.190/YamahaRemoteControl/ctrl'
method: POST
payload: '<?xml version="1.0" encoding="utf-8"?><YAMAHA_AV cmd="PUT"><Main_Zone><Vol><Lvl><Val>-340</Val><Exp>1</Exp><Unit>dB</Unit></Lvl></Vol></Main_Zone></YAMAHA_AV>'
yamaha_main_zone_power_on:
url: 'http://192.168.1.190/YamahaRemoteControl/ctrl'
method: POST
payload: '<?xml version="1.0" encoding="utf-8"?><YAMAHA_AV cmd="PUT"><Main_Zone><Power_Control><Power>On</Power></Power_Control></Main_Zone></YAMAHA_AV>'
my YAML REST command for getting the current values are:
yamaha_get_main_zone:
url: 'http://192.168.1.190/YamahaRemoteControl/ctrl'
method: POST
payload: '<?xml version="1.0" encoding="utf-8"?><YAMAHA_AV cmd="GET"><Main_Zone><Basic_Status>GetParam</Basic_Status></Main_Zone></YAMAHA_AV>'