hello, tks for your help !
i realized my mistake after asking help
but now, i have error message while checking conf
Invalid config for [knx]: Entity ID media_player.Russound.RDC.Cuisine.object_id is an invalid entity id for dictionary value @ data['knx']['expose'][2]['entity_id']. Got 'media_player.Russound.RDC.Cuisine.object_id'. (See /config/configuration.yaml, line 82).
Looks like ‘media_player.Russound.RDC.Cuisine’ is not an entity_id. Have a look at Developer-Tools - States to find the correct entity_id and what it’s state is (if it’s not “on” or “off” it’s probably not binary)
as i am really newbie, it is quite complicated to understand how to.
My need is exactly to send On or Off to a zone of russound media player.
but if i switch off this zone from russound, of course, the status has to be sent to knx : i understand that this is using expose
1/ media player sends status to knx using Expose :
using dev tools, it seems “media_player.russound_rdc_cuisine” is correct
Invalid config for [knx]: Entity ID media_player.russound.rcd.cuisine is an invalid entity id for dictionary value @ data[‘knx’][‘expose’][2][‘entity_id’]. Got ‘media_player.russound.rcd.cuisine’. (See /config/configuration.yaml, line 82).
2/ Russound gets status from knx
what is the solution here ? Using automation ??
- alias: "knx_to_Russound Off"
trigger:
- platform: state
to: "on"
entity_id: switch.RUS_Z1_Cuisine_ON_Off
action:
service: media_player.turn_off
data:
entity_id: media_player.Russound.RDC.Cuisine
- alias: "knx_to_Russound On"
trigger:
- platform: state
to: "off"
entity_id: switch.RUS_Z1_Cuisine_ON_Off
action:
service: media_player.turn_on
data:
entity_id: media_player.Russound.RDC.Cuisine
EDIT : This entity does not have a unique ID, therefore its settings cannot be managed from the UI.
yes, i understand that the problem seems to be “media_player.russound.rcd.cuisine”.
i am really blocked and have no idea of why media is not usable here.
going to continue searching & trying to understand
…
many tks
EDIT : i understood the mistake after re re reading : rdc vs rcd, but same issue
So have you tried to replace the dots with underscores? In the linked Thread you seem to have the same problem.
To my understanding “Media_player” is the Domain, the entity is separated with a dot and then no more dots. So “media_player.russound_rdc_cuisine” would be a correct entity id (whereas “media_player.russound.rcd.cuisine” Is not).