Metadata-Version: 2.4
Name: py-melissa-climate
Version: 3.0.2
Summary: Api wrapper for Melissa Climate http://seemelissa.com
Author-email: Magnus Knutas <magnusknutas@gmail.com>
Maintainer-email: Magnus Knutas <magnusknutas@gmail.com>
License-Expression: MIT
Project-URL: Bug Tracker, https://github.com/kennedyshead/py-melissa-climate/issues
Project-URL: Changelog, https://github.com/kennedyshead/py-melissa-climate/blob/master/CHANGELOG.md
Project-URL: Documentation, https://github.com/kennedyshead/py-melissa-climate/blob/master/README.md
Project-URL: Homepage, https://github.com/kennedyshead/py-melissa-climate
Project-URL: Repository, https://github.com/kennedyshead/py-melissa-climate.git
Keywords: Melissa Climate,bobby,development,hass,homeassistant,iot,mClimate,melissa
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: aiohttp
Provides-Extra: dev
Dynamic: license-file

# Python binds for Melissa Climate

![Python package](https://github.com/kennedyshead/py-melissa-climate/workflows/Python%20package/badge.svg) [![Upload Python Package](https://github.com/kennedyshead/py-melissa-climate/actions/workflows/python-publish.yml/badge.svg)](https://github.com/kennedyshead/py-melissa-climate/actions/workflows/python-publish.yml)

This is an unofficial wrapper for melissa web api: https://docs.mclimate.eu

[Coffee fundraiser](https://paypal.me/pools/c/8177s58qSX)

### Installing

```
pip install py-melissa-climate
```

```
python
>>> from melissa import Melissa
>>> m = Melissa(username="email_adress", password="password")
>>> m.fetch_devices()
{'********': {'user_id': 1, 'serial_number': '********', 'mac': '********', 'firmware_version': 'V1SHTHF', 'name': 'Melissa ********', 'type': 'melissa', 'room_id': None, 'created': '2016-07-06 18:59:46', 'id': 1, 'online': True, 'brand_id': 1, 'controller_log': {'temp': 25.4, 'created': '2018-01-06T10:12:16.249Z', 'raw_temperature': 28188, 'humidity': 18.5, 'raw_humidity': 12862}, '_links': {'self': {'href': '/v1/controllers'}}}}
```

## Running the tests

WIP

### And coding style tests

We use flake8

```
pip install flake8
```
```
flake8 melissa
```

## Built With

* [requests](http://docs.python-requests.org/en/master/)

## Versioning

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/kennedyshead/py-melissa-climate/tags).

## Authors

* **Magnus Knutas** - *Initial work* - [kennedyshead](https://github.com/kennedyshead)

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

## Acknowledgments

* Melissa dev team who made a great API
* Home-assistant.io for the inspiration to write this
