Kane610/deconz

Feature Request: Sensor type ZHACarbonMonoxide support

Closed this issue · 3 comments

The Heiman HS1CA Smart Carbon Monoxide is supported by deconz but isn't by the home assistant deconz wrapping library.

2019-04-22 19:40:46 INFO (MainThread) [pydeconz.sensor] Unsupported sensor type ZHACarbonMonoxide

Here is the json/rest call result

 {
    'config': {
        'battery': 100,
        'on': True,
        'pending': [],
        'reachable': True
    },
    'ep': 1,
    'etag': 'XXX',
    'manufacturername': 'Heiman',
    'modelid': 'CO_V16',
    'name': 'Cave, CO',
    'state': {
         'carbonmonoxide': False,
         'lastupdated': 'none',
         'lowbattery': False,
         'tampered': False
    },
    'swversion': '20150330',
    'type': 'ZHACarbonMonoxide',
    'uniqueid': 'XXX'
}

Awesome! I will have a look at this within a couple of days

Im guessing it is a binary sensor since carbonmonoxide: False?

Completed