lib/sonos/device/speaker.rb in sonos-0.3.5 vs lib/sonos/device/speaker.rb in sonos-0.3.6
- old
+ new
@@ -1,7 +1,8 @@
require 'savon'
require 'sonos/endpoint'
+require 'sonos/features'
module Sonos::Device
# Used for PLAY:3, PLAY:5, PLAYBAR, SUB, CONNECT and CONNECT:AMP
class Speaker < Base
@@ -9,9 +10,10 @@
include Sonos::Endpoint::Rendering
include Sonos::Endpoint::Device
include Sonos::Endpoint::ContentDirectory
include Sonos::Endpoint::Upnp
include Sonos::Endpoint::Alarm
+ include Sonos::Features::Voiceover
MODELS = {
:'S1' => 'PLAY:1', # Released Oct 2013
:'S3' => 'PLAY:3', # Released Jul 2011
:'S5' => 'PLAY:5', # Released Nov 2009