Metadata-Version: 2.1
Name: aioshelly
Version: 0.1.1
Summary: Python module to talk to Philips Hue.
Home-page: https://github.com/home-assistant-libs/aioshelly
Author: Paulus Schoutsen
Author-email: paulus@home-assistant.io
License: Apache License 2.0
Description: # Aioshelly
        
        ## Asynchronous library to control Shelly
        
        ## This library is under development.
        
        Requires Python 3.5 and uses asyncio, aiohttp and aiocoap.
        
        ```python
        import asyncio
        from pprint import pprint
        import aiohttp
        import aioshelly
        
        async def main():
            async with aiohttp.ClientSession() as session:
                device = await aioshelly.Device.create("192.168.1.165", session)
        
                # pprint(device.d)
                # pprint(device.s)
        
                for block in device.blocks:
                    print(block)
                    pprint(block.current_values())
                    print()
        
                print(await device.blocks[0].toggle())
        
                await device.shutdown()
        
        
        if __name__ == "__main__":
            asyncio.run(main())
        ```
        
        ## Contribution guidelines
        
        Object hierarchy and property/method names should match the [Shelly API](https://shelly-api-docs.shelly.cloud/).
        
Platform: any
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown
