'Constructor.
Args:
friendly_name (string|func): Friendly name'

def __init__(self, friendly_name):

    super().__init__(friendly_name=friendly_name, feature='alerts', value=(lambda wu: len(wu.data['alerts'])), icon=(lambda wu: ('mdi:alert-circle-outline' if wu.data['alerts'] else 'mdi:check-circle-outline')), device_state_attributes=self._get_attributes)
