semvec/pypi-packages huggingface dataset:
homey-stubs 0.0.5.0
Type annotations for the Homey SDK
Requires Python: >=3.13
Keywords: homey, homey-stubs, smart home, smarthome, typing, stubs, mypy, pyright

# homey-stubs

Type annotations for the Homey SDK

### Static type-checkers
These types have been tested with:
- [Pyright](https://github.com/microsoft/pyright) version 1.1.406

A static type-checking package is not required, however, and these stubs will still improve autocomplete suggestions
and error detection in your IDE if you don't install one.

### Example

The following example illustrates some situations that will be caught by pyright.

```python
from homey.driver import Driver
from homey.flow_card_trigger_device import FlowCardTriggerDevice

class  MyDriver(Driver):
    async def on_init(self) -> None:
        # Type "FlowCardTrigger" is not assignable to declared type "FlowCardTriggerDevice"
        trigger_card: FlowCardTriggerDevice = self.homey.flow.get_trigger_card("something_happens")
        some_token = await self.homey.flow.create_token("some_token", "number", "Some token")
        # Type "Literal['value']" is not assignable to type "float | None"
        await some_token.set_value("value")

```
homey-apps-sdk-v3 0.0.5
The Homey SDK
Requires Python: >=3.13

# homey-apps-sdk-v3

This is an alias for [homey](https://pypi.org/project/homey/)

# homey

The Python [Homey Apps SDK](https://apps.developer.homey.app/).
When apps are run this package will be supplied for you,
so you do not need to explicitly make it a dependency of your app.

### Static Typing
Typing information for this library is available separately in [homey-stubs](https://pypi.org/project/homey-stubs/)
homey 0.0.5
The Homey SDK
Requires Python: >=3.13

# homey

The Python [Homey Apps SDK](https://apps.developer.homey.app/).
When apps are run this package will be supplied for you,
so you do not need to explicitly make it a dependency of your app.

### Static Typing
Typing information for this library is available separately in [homey-stubs](https://pypi.org/project/homey-stubs/)