Instead of sensor "Input XR" with state "WHAT_FUNCTION_IS_CONFIGURED" and binary sensor "Input XR" with state ON/OFF it would be nice to have a sensor "XR: FUNCTION": state ON/OFF