openbase / bco.dal

Domotic Abstraction Layer
Other
1 stars 2 forks source link

Supported service types and available service types of MultiUnitServiceFusion #130

Open pLeminoq opened 5 years ago

pLeminoq commented 5 years ago

Locations and unit groups are multi unit service fusions which need to implement the method getSupportedServiceTypes. This method just returns all service types so it can be renamed into getServiceTypes. This method should be implemented generally for units. Additionally the method getAvailableServiceTypes, currently only implemented for location remotes, should be added to the interface. This methods filters services for which no internal unit exists. Since these are accessible only using the unit config this method should be available from the unit registry.

DivineThreepwood commented 5 years ago

make sure this has been implemented.