def __init__(self, base_url):
        """Setup Vera controller at the given URL.

        base_url: Vera API URL, eg http://vera:3480.
        """
        self.base_url = base_url
        self.devices = []
        self.scenes = []
        self.temperature_units = 'C'
        self.version = None
        self.model = None
        self.serial_number = None
        self.device_services_map = None
        self.subscription_registry = SubscriptionRegistry()
        self.categories = {}
        self.device_id_map = {}
def __init__ ( self , base_url ) : self . base_url = base_url self . devices = [ ] self . scenes = [ ] self . temperature_units = 'C' self . version = None self . model = None self . serial_number = None self . device_services_map = None self . subscription_registry = SubscriptionRegistry ( ) self . categories = { } self . device_id_map = { }
Setup Vera controller at the given URL.

        base_url: Vera API URL, eg http://vera:3480.