Skip to main content

DevDeck - Home Assistant

CI

Home Assistant controls for DevDeck.

Installing

Simplify install DevDeck - Home Assistant into the same python environment that you have installed DevDeck.

pip install devdeck-home-assistant

You can then update your DevDeck configuration to use decks and controls from this package.

Controls

  • SwitchToggleControl

    Can be used to toggle the state of a switch entity

  • LightToggleControl

    Can be used to toggle the state of a light entity

Configuration

Example configuration:

decks:
  - serial_number: "ABC123"
    name: 'devdeck.decks.single_page_deck_controller.SinglePageDeckController'
    settings:
      controls:
        - name: 'devdeck_home_assistant.light_toggle_control.LightToggleControl'
          key: 0
          settings:
            api_key: 'YOUR_API_KEY_GOES_HERE'
            entity_id: 'light.your_light_entity_id'
            url: 'htts://homeassistant:8123'
        - name: 'devdeck_home_assistant.switch_toggle_control.SwitchToggleControl'
          key: 1
          settings:
            api_key: 'YOUR_API_KEY_GOES_HERE'
            entity_id: 'switch.your_switch_entity_id'
            url: 'htts://homeassistant:8123'

Prerequisites

You must have the API enabled by having an api entry in your home assistant configuration:

api:

See the Home Assistant API docs for more details.

You will also need a Long-Lived Access Token which can be generated from the profile page (/profile).

Release files for devdeck-home-assistant 1.0.4

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

Source distribution (sdist)

Source distribution for devdeck-home-assistant 1.0.4
File Size Uploaded
devdeck_home_assistant-1.0.4.tar.gz 51.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for devdeck-home-assistant 1.0.4
File Interpreter ABI Platform
devdeck_home_assistant-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 104.2 kB

Release files / devdeck_home_assistant-1.0.4.tar.gz

Download URL devdeck_home_assistant-1.0.4.tar.gz
Size 51.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4dade63fdc2f285a20e0a255a9dc3cc54a8344d821e983165d6626c792630d25
BLAKE2b-256 checksum
How to use checksums
0ddee8804984aafa88f58ce6ec1fbab971af00e374896e1952367c3fbe5cfcd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10

Release files / devdeck_home_assistant-1.0.4-py3-none-any.whl

Download URL devdeck_home_assistant-1.0.4-py3-none-any.whl
Size 53.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
da6144b9390113e473d0305bcf91ae43ffb3fc4d4463aa36576abc110f3ba9cd
BLAKE2b-256 checksum
How to use checksums
a2f073f47e20ba06c3265e53665464c51ac593c5427e71c52cf7e5e0bc02d3c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

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