After update 0.105 kodi.call_method stop working. No error logs. Kodi not responding.
On 0.104 work like charm.
Home Assistant Core release with the issue: 0.115
Last working Home Assistant Core release (if known):
Operating environment (OS/Container/Supervised/Core): HassOS 4.13
Integration causing this issue: kodi
Link to integration documentation on our website: https://www.home-assistant.io/integrations/kodi/
configuration.yaml
before:
media_player:
platform: kodi
host: 192.168.0.120
port: 1111
turn_off_action:
service: kodi.call_method
data:
entity_id: media_player.kodi
method: System.Shutdown
Current only ui integration.
Can you please add more information like what YAML you used before so its easier to tell what the issue is. Also I think you have a typo in the versions :)
Hey there @onfreund, mind taking a look at this issue as its been labeled with an integration (kodi) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)
Can you please add more information like what YAML you used before so its easier to tell what the issue is. Also I think you have a typo in the versions :)
before:
media_player:
Current only ui integration.
Next issue: I create turn on automation but when kodi is enabled turn off switch not trigger my turn off automation.
I am also having the same issue. Both in my automations and trying to use the developer tools.
I moved everything to the UI integration - Was working fine pre-0.115
Kodi boots up so I know the turn on automation works. but the turn off one runs and does nothing.
I've also tried running the kodi.call_method from the developer tools using
entity_id: media_player.lounge_tv
method: System.Shutdown
as the service data, and still nothing happens.
Pastebin of pre-configuration and post-migration to an automation: https://pastebin.com/HgBPrgwN
I am also experiencing no response from kodi when using the call_method with the new integration. I've tried from the developer tools and cant see anything in the logs. Some example code below that used to work
- icon: 'mdi:arrow-left-bold-circle'
type: 'custom:button-card'
template: remote_button_round
tap_action:
service: kodi.call_method
action: call-service
service_data:
method: Input.Left
entity_id: media_player.kodi
- icon: 'mdi:check-circle-outline'
type: 'custom:button-card'
template: remote_button_round
tap_action:
service: kodi.call_method
action: call-service
service_data:
method: Input.Select
entity_id: media_player.kodi
Same here, I've moved to the new release of Home Assistant, my KODI call method doesn't seem to work.
Turning on using WOL and a new automation works, but shutting down isn't working at all!
I have the debug on for homeassistant.components.media_player.kodi, but nothing turns up in the logs.
@shirou93
Could you please change title from 105 to 115?
Same here, I've moved to the new release of Home Assistant, my KODI call method doesn't seem to work.
Turning on using WOL and a new automation works, but shutting down isn't working at all!I have the debug on for homeassistant.components.media_player.kodi, but nothing turns up in the logs.
@shirou93
Could you please change title from 105 to 115?
changed, my bad.
Thanks for reporting. This should be fixed in https://github.com/home-assistant/core/pull/40236.
Most helpful comment
Thanks for reporting. This should be fixed in https://github.com/home-assistant/core/pull/40236.