Metadata-Version: 2.1
Name: aioswitcher
Version: 1.2.0
Summary: Switcher Water Heater Unofficial Bridge and API.
Home-page: https://pypi.org/project/aioswitcher/
License: MIT
Keywords: home,automation,switcher,water-heater
Author: Tomer Figenblat
Author-email: tomer.figenblat@gmail.com
Requires-Python: >=3.6,<4.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Documentation :: Sphinx
Classifier: Topic :: Home Automation
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Provides-Extra: checkers
Provides-Extra: tests
Requires-Dist: asynctest (==0.13.0); extra == "tests"
Requires-Dist: bandit (==1.6.2); extra == "checkers"
Requires-Dist: black (==19.10b0); extra == "checkers"
Requires-Dist: codecov (==2.0.22); extra == "tests"
Requires-Dist: doc8 (==0.8.0); extra == "checkers"
Requires-Dist: flake8 (==3.7.9); extra == "checkers"
Requires-Dist: flake8-docstrings (==1.5.0); extra == "checkers"
Requires-Dist: isort (==4.3.21); extra == "checkers"
Requires-Dist: mypy (==0.770); extra == "checkers"
Requires-Dist: pygments (==2.6.1); extra == "checkers"
Requires-Dist: pytest (==5.4.2); extra == "tests"
Requires-Dist: pytest-aiohttp (==0.3.0); extra == "tests"
Requires-Dist: pytest-asyncio (==0.12.0); extra == "tests"
Requires-Dist: pytest-cov (==2.8.1); extra == "tests"
Requires-Dist: yamllint (==1.23.0); extra == "checkers"
Project-URL: Documentation, https://aioswitcher.tomfi.info
Project-URL: Repository, https://github.com/tomerfi/aioswitcher
Description-Content-Type: text/markdown

# Switcher Water Heater Unofficial Bridge and API</br>[![pypi-version]][11] [![pypi-downloads]][11] [![license-badge]][4]

[![gh-build-status]][7] [![read-the-docs]][8] [![codecov]][3] [![dependabot-status]][1] [![fossa-status]][5]

PyPi module named [aioswitcher][11] for integrating with the [Switcher Water Heater](https://www.switcher.co.il/).</br>
Please check out the [documentation][8].

## Install

```shell
pip install aioswitcher
```

## Usage Example

Please check out the [documentation][8] for the full usage section.

```python
async with SwitcherV2Api(
        your_loop, ip_address, phone_id,
        device_id, device_password) as swapi:
    # get the device state
    state_response = await swapi.get_state()

    # control the device: on / off / on + 30 minutes timer
    turn_on_response = await swapi.control_device(consts.COMMAND_ON)
    turn_off_response = await swapi.control_device(consts.COMMAND_OFF)
    turn_on_30_min_response = await swapi.control_device(consts.COMMAND_ON, '30')
```

## Contributing

The contributing guidelines are [here](.github/CONTRIBUTING.md)

## Code of Conduct

The code of conduct is [here](.github/CODE_OF_CONDUCT.md)

<!-- Real Links -->
[1]: https://dependabot.com
[2]: https://github.com/TomerFi/aioswitcher/releases
[3]: https://codecov.io/gh/TomerFi/aioswitcher
[4]: https://github.com/TomerFi/aioswitcher
[5]: https://app.fossa.com/projects/git%2Bgithub.com%2FTomerFi%2Faioswitcher?ref=badge_shield
[7]: https://github.com/TomerFi/aioswitcher/actions?query=workflow%3ABuild
[8]: https://aioswitcher.tomfi.info/
[11]: https://pypi.org/project/aioswitcher
<!-- Badges Links -->
[codecov]: https://codecov.io/gh/TomerFi/aioswitcher/graph/badge.svg
[dependabot-status]: https://api.dependabot.com/badges/status?host=github&repo=TomerFi/aioswitcher
[fossa-status]: https://app.fossa.com/api/projects/git%2Bgithub.com%2FTomerFi%2Faioswitcher.svg?type=shield
[gh-build-status]: https://github.com/TomerFi/aioswitcher/workflows/Build/badge.svg
[license-badge]: https://img.shields.io/github/license/tomerfi/aioswitcher
[pypi-downloads]: https://img.shields.io/pypi/dm/aioswitcher.svg?logo=pypi&color=1082C2
[pypi-version]: https://img.shields.io/pypi/v/aioswitcher?logo=pypi
[read-the-docs]: https://readthedocs.org/projects/aioswitcher/badge/?version=stable

