message: feat(hass): support for Battery isLow binary sensor
diff: @@ -1576,6 +1576,8 @@ Gateway.prototype.discoverValue = function (node, vId) {
  case CommandClasses['Energy Production']:
  case CommandClasses.Battery:
  let sensor = null
  + // set it as been sensor (ex not Binary)
  + let isSensor = true
  // https://github.com/zwave-js/node-zwave-js/blob/master/packages/zwave-js/src/lib/commandclass/MultilevelSensorCC.ts
  if (cmdClass === CommandClasses['Multilevel Sensor']) {
  @@ -1628,10 +1630,26 @@ Gateway.prototype.discoverValue = function (node, vId) {
  unit_of_measurement: '%' // this is set if Driver doesn't offer unit of measurement
  }
  }
  + } else if (valueId.property === 'isLow') {
  + sensor = {
  + sensor: 'battery',
  + objectId: 'isLow',
  + props: {
  + device_class: 'battery'
  + }
  + }
  +
  + // use battery_low binary sensor
  + cfg = copy(hassCfg.binary_sensor_battery_low)
  + // support the case a binary sensor is served under multilevel sensor CC
  + isSensor = false
  } else return
  }
  + // check if is a sensor
  + if (isSensor) {
  cfg = copy(hassCfg.sensor_generic)
  + }
  // Assemble an object ID including propertyKey and property.
  // PropertyKey is set before property as propertyKey can have multiple relevant properties.
  cfg.object_id =
  