'Test fan entity methods.'

def test_fanentity(self):

    self.assertIsNone(self.fan.state)
    self.assertEqual(0, len(self.fan.speed_list))
    self.assertEqual(0, self.fan.supported_features)
    self.assertEqual({}, self.fan.state_attributes)
    self.fan.set_speed()
    self.fan.oscillate()
    with self.assertRaises(NotImplementedError):
        self.fan.turn_on()
    with self.assertRaises(NotImplementedError):
        self.fan.turn_off()
