ha-enthus1ast / plejd-mqtt-ha

Plejd MQTT
Apache License 2.0
1 stars 0 forks source link

Feature: Add device trigger support #25

Closed ha-enthus1ast closed 9 months ago

ha-enthus1ast commented 9 months ago

Description

Adds support for device triggers

Currently tested with two different variants of WPH-01, a double side and a single sided variant. The change introduces a different concept of creating an MQTT device, where it returns a list of entities instead of one entity, as some devices can have multiple entities.

Fixes #3

License Acceptance

Type of change

Checklist

github-actions[bot] commented 9 months ago

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 3 0 0.03s
✅ BASH bash-exec 1 0 0.0s
✅ BASH shellcheck 1 0 0.02s
✅ BASH shfmt 1 0 0 0.01s
✅ DOCKERFILE hadolint 1 0 0.11s
✅ JSON eslint-plugin-jsonc 2 0 0 1.15s
✅ JSON jsonlint 2 0 0.17s
✅ JSON prettier 2 0 0 0.34s
✅ JSON v8r 2 0 2.78s
✅ MARKDOWN markdownlint 5 0 0 1.18s
✅ MARKDOWN markdown-link-check 5 0 1.49s
✅ MARKDOWN markdown-table-formatter 5 0 0 0.35s
✅ PYTHON bandit 14 0 1.02s
✅ PYTHON black 18 0 0 1.09s
✅ PYTHON flake8 18 0 0.52s
✅ PYTHON isort 18 0 0 0.34s
✅ PYTHON pylint 18 0 14.51s
✅ PYTHON ruff 18 0 0 0.03s
✅ REPOSITORY gitleaks yes no 0.05s
✅ REPOSITORY git_diff yes no 0.01s
✅ REPOSITORY grype yes no 13.6s
✅ REPOSITORY secretlint yes no 0.74s
✅ REPOSITORY trivy yes no 6.58s
✅ REPOSITORY trivy-sbom yes no 2.14s
✅ REPOSITORY trufflehog yes no 2.64s
✅ SPELL lychee 14 0 1.28s
✅ YAML prettier 7 0 0 0.9s
✅ YAML v8r 7 0 12.19s
✅ YAML yamllint 7 0 0.26s

See detailed report in MegaLinter reports

_MegaLinter is graciously provided by OX Security_