![]() Can be ‘ALL’ when media_type is ‘ALBUM’ and artist_name is specified, to add all songs from one artist. If not defined, media_name and artist_name are needed to search the Kodi music library. Unique Id of the media entry to add ( songid or albumid). Name(s) of the Kodi entities where to add the media. Automations would be of the form:Īutomation : - id : kodi_turn_on alias : " Kodi: turn on" trigger : - platform : device device_id : !secret kodi_device_id domain : kodi entity_id : media_player.kodi type : turn_on action : - service : script.kodi_turn_on - id : kodi_turn_off alias : " Kodi: turn off" trigger : - platform : device device_id : !secret kodi_device_id domain : kodi entity_id : media_player.kodi type : turn_off action : - service : script.kodi_turn_off Services Service kodi.add_to_playlistĪdd music to the default playlist (i.e., playlistid=0). If you prefer YAML, you’ll need to get the device ID from the UI automation editor. These automations can be configured through the UI (see Device Triggers for automations). Simply use the relevant Kodi device triggers and your automation will be called to perform the turn_on or turn_off sequence see the Kodi turn on/off samples section for scripts that can be used. ![]() You can customize your turn on and off actions through automations. Kodi must be on when Home Assistant is loading for the first time for the configuration to be imported.This functionality is now available through device triggers. Your turn on/off actions will not be imported.If you do not remove it, your configuration will be imported with the following limitations: If you previously had Kodi configured through configuration.yaml, it’s advisable to remove it, and configure from the UI. If there wasn’t any discovered automatically, don’t worry! You can set up aįrom the configuration menu select: Devices & Services.įollow the instruction on screen to complete the set up.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |