Skip to main content

homey-apps-sdk-v3-stubs

This is an alias for homey-stubs

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-apps-sdk-v3-stubs 0.0.10.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-apps-sdk-v3-stubs 0.0.10.0
File Interpreter ABI Platform Actions
homey_apps_sdk_v3_stubs-0.0.10.0-py3-none-any.whl Python 3 none any Details for homey_apps_sdk_v3_stubs-0.0.10.0-py3-none-any.whl

Release files / homey_apps_sdk_v3_stubs-0.0.10.0-py3-none-any.whl

Download URL homey_apps_sdk_v3_stubs-0.0.10.0-py3-none-any.whl
Size 2.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
926de3ba163d0b22ee6d792697f05a15d24019413fe375583a13c0cfc315d04f
BLAKE2b-256 checksum
How to use checksums
76d63ed1c726e817bb039dc81c1b71f775d00d63fd3619f9951f901e6865bafe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for homey-apps-sdk-v3-stubs 0.0.10.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.0.10.0 This release

1 release file No provenance

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