Core: After update 0.115 kodi.call_method stop working

Created on 18 Sep 2020  路  8Comments  路  Source: home-assistant/core

The problem


After update 0.105 kodi.call_method stop working. No error logs. Kodi not responding.
On 0.104 work like charm.

Environment

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/

Problem-relevant 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.


Traceback/Error logs


Additional information

kodi

Most helpful comment

Thanks for reporting. This should be fixed in https://github.com/home-assistant/core/pull/40236.

All 8 comments

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:

  • 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.

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

missedtheapex picture missedtheapex  路  3Comments

i-am-shodan picture i-am-shodan  路  3Comments

TheZoker picture TheZoker  路  3Comments

piitaya picture piitaya  路  3Comments

Elmardus picture Elmardus  路  3Comments