Metadata-Version: 2.1
Name: aiolip
Version: 1.1.3
Summary: Async Lutron Integration Protocol
Home-page: https://github.com/bdraco/aiolip
Author: J. Nick Koston
Author-email: nick@koston.org
License: Apache Software License 2.0
Keywords: aiolip
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.5

=================================
Async Lutron Integration Protocol
=================================


.. image:: https://img.shields.io/pypi/v/aiolip.svg
        :target: https://pypi.python.org/pypi/aiolip

.. image:: https://img.shields.io/travis/bdraco/aiolip.svg
        :target: https://travis-ci.com/bdraco/aiolip

.. image:: https://readthedocs.org/projects/aiolip/badge/?version=latest
        :target: https://aiolip.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status




Async Lutron Integration Protocol


* Free software: Apache Software License 2.0
* Documentation: https://aiolip.readthedocs.io.


Example Usage
-------------

.. code-block:: python

        import asyncio
        import logging

        from aiolip import LIP
        from aiolip.data import LIPMode

        _LOGGER = logging.getLogger(__name__)


        async def main():
        lip = LIP()

        logging.basicConfig(level=logging.DEBUG)

        await lip.async_connect("192.168.209.70")

        def message(msg):
                _LOGGER.warning(msg)

        lip.subscribe(message)
        run_task = asyncio.create_task(lip.async_run())
        await run_task
        await lip.async_stop()

        if __name__ == "__main__":
        loop = asyncio.get_event_loop()
        loop.run_until_complete(main())

Credits
-------

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage


=======
History
=======

1.0.0 (2021-01-18)
------------------

* First release on PyPI.


