Metadata-Version: 2.4
Name: aioneverdark
Version: 0.1.0
Summary: Async Python library for the Neverdark Fireplace API
License: MIT
Requires-Python: >=3.11
Requires-Dist: aiohttp>=3.9
Provides-Extra: dev
Requires-Dist: aioresponses>=0.7; extra == 'dev'
Requires-Dist: mypy>=1.9; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.23; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff>=0.4; extra == 'dev'
Description-Content-Type: text/markdown

# aioneverdark

Async Python library for controlling [Neverdark](https://neverdark.one) smart fireplaces via their REST API.

## Installation

```bash
pip install aioneverdark
```

## Usage

```python
import asyncio
from aioneverdark import NeverdarkClient

async def main() -> None:
    async with NeverdarkClient(host="192.168.1.x") as client:
        status = await client.get_status()
        print(f"Fireplace is {'on' if status.is_on else 'off'}, flame level: {status.flame_level}")

asyncio.run(main())
```

## Development

```bash
pip install -e ".[dev]"
pytest
ruff check .
mypy src/aioneverdark
```
