'Test master state property.'

def test_master_state_with_attrs(self):

    config = self.config_children_and_attr
    universal.validate_config(config)
    ump = universal.UniversalMediaPlayer(self.hass, **config)
    self.assertEqual(STATE_OFF, ump.master_state)
    self.hass.states.set(self.mock_state_switch_id, STATE_ON)
    self.assertEqual(STATE_ON, ump.master_state)
