lib/sonos/endpoint/device.rb
# Retrieve the status light state; true if on, false otherwise.
Retrieve the status light state; true if on, false otherwise.
Retrieve the status light state ; true if on false otherwise .
def status_light_enabled?
    response = send_device_message('GetLEDState', '')
    body = response.body[:get_led_state_response]
    body[:current_led_state] == 'On' ? true : false
  end
def status_light_enabled? response = send_device_message ( 'GetLEDState' , '' ) body = response . body [ :get_led_state_response ] body [ :current_led_state ] == 'On' ? true : false end
Retrieve the status light state; true if on, false otherwise.
Retrieve the status light state ; true if on false otherwise .