Metadata-Version: 2.1
Name: py-miraie-ac
Version: 0.1.4
Summary: A package to control and read MirAIe Aircons by Panasonic
Home-page: https://github.com/milothomas/py-miraie-ac
Author: Milo Thomas
Author-email: 20719501+milothomas@users.noreply.github.com
Project-URL: Bug Tracker, https://github.com/milothomas/py-miraie-ac/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# Python MirAIe AC API

An API to send commands and read the status of MirAIe air conditioners by Panasonic

**Installation**
```
pip install py-miraie-ac
```

**Usage**
```
import asyncio
from api import MirAIeAPI
from enums import AuthType
from device import Device

async with MirAIeAPI(
        auth_type=AuthType.MOBILE, 
        login_id="YOUR_MOBILE_NUMBER", 
        password="YOUR_PASSWORD"
    ) as api:
    await api.initialize()
    for device in api.devices:
        print("Found device: ", device.friendly_name)
        device.set_temperature(24)
        device.turn_on()

asyncio.get_event_loop().run_until_complete(start())
