How I add homeassistant.components a

If I want to access to homeassistant.components…

from homeassistant.components.media_player.kodi import (
EVENT_KODI_CALL_METHOD_RESULT)

See my answer in the other thread

Thanks!
I change to EVENT_KODI_CALL_METHOD_RESULT = ‘kodi_call_method_result’
Regards