Sha256: eef771a9f83f64b4bf7007455123bfb60a5c1eb018f889f8c1f98e4895eaaf6e

Contents?: true

Size: 685 Bytes

Versions: 1

Compression:

Stored size: 685 Bytes

Contents

media_player 'KoKodi' do
  platform :kodi
  host 'http://192.168.0.13'
  port 8080
end


automation 'Activate movie playing scene' do
  #trigger.when('KoKodi').from(:paused).to(:playing)

  # Other examples
   trigger.when('KoKodi').playing
  # equivalent to:
  # trigger.when('KoKodi').to(:playing)

  # trigger.at('18:00:00')
  # trigger.when('sun').set
  # trigger.on('my_event_name') # using platform 'event'
  #
  # Documentation:
  # trigger.when('a component short name') creates a trigger on the component state. It is possible to call:
  # from('old state') and  to('new state') on it.
  # It is also possible to call any method whose name is the new state, like .playing
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
home_assistant-generator-0.1.0.pre.alpha.pre.10 example_config.rb