ZoneParser

class aaa_modules.zone_parser.ZoneParser[source]

Construct the zones from the existing items in OpenHab, using this naming convention: Floor_Location_ItemType For example, item “Switch FF_Foyer_LightSwitch …” will create a zone named ‘Foyer’ at the first floor; and the zone contains a Light object.

See ZoneManager and Zone.

static parse(items, itemRegistry)[source]
Parameters:
  • items (scope.items) –
  • itemRegistry (scope.itemRegistry) –
Return type:

list(Zone)