Metadata-Version: 2.1
Name: neohubapi
Version: 0.3
Summary: Async library to communicate with Heatmiser NeoHub 2 API.
Home-page: https://gitlab.com/neohubapi/neohubapi/
Author: Andrius Štikonas
Author-email: andrius@stikonas.eu
License: UNKNOWN
Description: <!--
            SPDX-FileCopyrightText: 2020 Andrius Štikonas <andrius@stikonas.eu>
            SPDX-License-Identifier: CC-BY-4.0
        -->
        
        # NeoHubAPI
        
        This is a simple python wrapper around Heatmiser's Neohub API.
        
        It's primary purpose is to be used via Home Assistant integration but
        it can also be used as a standalone library.
        
        ## Usage example
        
        ```python
        import asyncio
        import neohubapi.neohub as neohub
        
        
        async def run():
            hub = neohub.NeoHub()
            system = await hub.get_system()
            hub_data, devices = await hub.get_live_data()
            for device in devices['thermostats']:
                print(f"Temperature in zone {device.name}: {device.temperature}")
                await device.identify()
        
        
        asyncio.run(run())
        ```
        
        ## NeoHub API documentation
        
        API documentation can be found from various places online or
        you can request the latest version from support@heatmiser.com
        
Keywords: neohub,heatmiser
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
