Skip to main content

homey-stubs

Type annotations for the Homey SDK

Static type-checkers

These types have been tested with:

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.

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")

Metadata

Release files for homey-stubs 0.0.11.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for homey-stubs 0.0.11.0
File Interpreter ABI Platform Actions
homey_stubs-0.0.11.0-py3-none-any.whl Python 3 none any Details for homey_stubs-0.0.11.0-py3-none-any.whl

Release files / homey_stubs-0.0.11.0-py3-none-any.whl

Download URL homey_stubs-0.0.11.0-py3-none-any.whl
Size 53.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
53a60936c3d8f5e90b3c92042fb9921c4ea9df79902e41af49c6719e2a6f41a8
BLAKE2b-256 checksum
How to use checksums
243a330b9064aa0514ad924ef1c0142797c3da619a8a54df6621f30fd5d96ef8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

Security for homey-stubs 0.0.11.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for homey_stubs-0.0.11.0-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page