HA Update new kodi turn_on/turn_off integration

Hei

In home assistant ver 115 has kodi integratin changed and now My kodi TV script wont work anymore.
This is my config.

media_player:
  - platform: kodi
    host: 192.168.1.12
    port: 80
    name: TV
    turn_on_action:
      - service: switch.turn_on
        data:
          entity_id: switch.htpc_socket_htpc
      - delay: '00:00:59'
#      - service: script.turn_on
#        entity_id: script.kodi_start_fireplace
      - service: media_player.play_media
        data_template:
          entity_id: media_player.tv
          media_content_type: CHANNEL
         ## http://kodi:[email protected]/jsonr
          media_content_id: 103
           {% if (now().hour < 15) or ((now().h
             103
           {% elif (now().hour < 18) %}
             103
           {% elif (now().hour < 20) %}
             103
           {% elif (now().hour == 20) and (now(
             103
           {% elif (now().hour == 20) or ((now(
             103
           {% else %}
             103
           {% endif %}
    turn_off_action:
      - service: kodi.call_method
        data:
          entity_id: media_player.tv
          method: System.Shutdown
      - delay: '00:00:45'
      - service: switch.turn_off
        data:
          entity_id: switch.htpc_socket_htpc

In HA kodi docs(https://www.home-assistant.io/integrations/kodi/) says that I need to make automation and trigger to use turn_off_action turn_on_action.

How can I make this kodi TV automation work again?

Just curious but have you ran a sanity check in the config file to see if something changes on the syntax for those actions? That at least point if it’s a syntax issue there. It won’t use rich logical errors but it’s a start.

Anything in the logs when you call that automation?

config check is ok with no errors.
also the ha startup is ok.

2020-09-25 17:37:17 INFO (MainThread) [homeassistant.components.notify] Setting up notify.kodi
2020-09-25 17:37:17 INFO (MainThread) [homeassistant.components.media_player] Setting up media_player.kodi

in HA kodi docs says about new update

" * Your turn on/off actions will not be imported. This functionality is now available through device triggers."

how can I make it work through triggers?

The same case over here: Kodi on/off actions in 0.115

moving there.