example-custom-config/custom_components/detailed_hello_world_push
Nick Hehr 54d666d0ef
Use ConfigEntry runtime_data in detailed hello world (#70)
* refactor(detailed_hello_world): use custom ConfigEntry runtime_data

* refactor(detailed_hello_world): add type annotations to sensor setup
2024-08-20 23:07:18 +02:00
..
translations Add a more comprehensive integration example (#18) 2020-09-03 14:01:22 +02:00
README.md Add a more comprehensive integration example (#18) 2020-09-03 14:01:22 +02:00
__init__.py Use ConfigEntry runtime_data in detailed hello world (#70) 2024-08-20 23:07:18 +02:00
config_flow.py Type detailed_hello_world_push platforms (#28) 2021-09-10 08:29:26 +02:00
const.py Add a more comprehensive integration example (#18) 2020-09-03 14:01:22 +02:00
cover.py Use ConfigEntry runtime_data in detailed hello world (#70) 2024-08-20 23:07:18 +02:00
hub.py Update detailed_hello_world_push example (#30) 2021-11-18 13:15:06 +01:00
manifest.json Sort manifests (#41) 2023-02-27 08:14:48 +01:00
sensor.py Use ConfigEntry runtime_data in detailed hello world (#70) 2024-08-20 23:07:18 +02:00
strings.json Add a more comprehensive integration example (#18) 2020-09-03 14:01:22 +02:00

README.md

More "Level 2" Comprehensive async Push Integration Example

This example aims to show the best practice for a more complete integration using push with async.

It is based on a cover, emulating battery operated roller blinds.

The example includes extensive comments (that should be removed if making a true integration), to guide you through what each field and property is for. It includes 2 sensors tied to the primary cover device.

It's all implemented using a push model in async.

This example does not cover translations.