diff --git a/homeassistant/components/hue/binary_sensor.py b/homeassistant/components/hue/binary_sensor.py index b9921a9a01f..68f04058566 100644 --- a/homeassistant/components/hue/binary_sensor.py +++ b/homeassistant/components/hue/binary_sensor.py @@ -26,3 +26,14 @@ class HuePresence(GenericZLLSensor, BinarySensorDevice): def is_on(self): """Return true if the binary sensor is on.""" return self.sensor.presence + + @property + def device_state_attributes(self): + """Return the device state attributes.""" + attributes = super().device_state_attributes + if 'sensitivity' in self.sensor.config: + attributes['sensitivity'] = self.sensor.config['sensitivity'] + if 'sensitivitymax' in self.sensor.config: + attributes['sensitivity_max'] = \ + self.sensor.config['sensitivitymax'] + return attributes