Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Integration: SMLIGHT SLZB-06 Adapters Integration #118675

Merged
merged 44 commits into from
Aug 20, 2024

Conversation

tl-sl
Copy link
Contributor

@tl-sl tl-sl commented Jun 3, 2024

Breaking change

Proposed change

SMLIGHT make a range of USB and LAN Zigbee coordinators. The LAN coordinators are based on ESP32 and have an onboard web UI. This integration aims to bring support for monitoring and managing these devices directly into Home Assistant. Providing direct access to sensors, switches, buttons and other features that are available from the SLZB web interface. There is no actual Zigbee support within this integration as that is handled per normal with either ZHA or Zigbee2MQTT.

Planned features:

  • Management of device features (mode switch, restart, disable led's etc)
  • Update sensors for both core firmware and zigbee firmware on SLZB-06 device
  • Full coverage of various sensors available on device
  • Configuration of language and timezones
  • Firmware management for USB devices (SLZB-07)

This initial PR contains only a very slimmed done set of features for minimal usability for intial PR:

  • Manual user config flow
  • Zeroconf config flow
  • Sensors platform including temp sensors, memory usage stats.

All variants of SLZB-06x are supported:
https://smlight.tech/product/slzb-06/#

Currently this integration requires SLZB-06 to have the v2.3.6.dev core firmware or later installed, a later PR will add support for slzb-06 with factory or older core firmware versions to allow the user to directly upgrade to a version that fully supports this integration.

This integration is supported by SMLIGHT. code by @darkxst

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New integration (thank you!)
  • New feature (which adds functionality to an existing integration)
  • Deprecation (breaking change to happen in the future)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Additional information

Checklist

  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist
  • I have followed the perfect PR recommendations
  • The code has been formatted using Ruff (ruff format homeassistant tests)
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • The manifest file has all fields filled out correctly.
    Updated and included derived files by running: python3 -m script.hassfest.
  • New or updated dependencies have been added to requirements_all.txt.
    Updated by running python3 -m script.gen_requirements_all.
  • For the updated dependencies - a link to the changelog, or at minimum a diff between library versions is added to the PR description.
  • Untested files have been added to .coveragerc.

To help with the load of incoming pull requests:

home-assistant[bot]

This comment was marked as resolved.

@ALERTua
Copy link
Contributor

ALERTua commented Jun 26, 2024

Hello. I had some time to test your new SMLight integration on my SLZB-06p10.
The integration was set up via Zeroconf.
image
Please tell me if you need more tests.
Thank you for your work! 💙💛

@tl-sl tl-sl force-pushed the new-smlight-integration branch 2 times, most recently from d09e09f to 172f534 Compare July 10, 2024 10:42
@tl-sl tl-sl changed the title New Integration: SMLIGHT SLZB Zigbee Adapters Integration New Integration: SMLIGHT SLZB-06 Adapters Integration Jul 10, 2024
tests/components/smlight/test_init.py Outdated Show resolved Hide resolved
@tl-sl tl-sl marked this pull request as ready for review August 19, 2024 13:41
@home-assistant home-assistant bot requested a review from joostlek August 19, 2024 13:41
@joostlek joostlek merged commit 98a007c into home-assistant:dev Aug 20, 2024
40 checks passed
@tl-sl
Copy link
Contributor Author

tl-sl commented Aug 20, 2024

Thanks for your reviews on this Joostlek and Zweckj. I will now get to work on some followup PR's ;)

@github-actions github-actions bot locked and limited conversation to collaborators Aug 21, 2024
@tl-sl tl-sl deleted the new-smlight-integration branch September 6, 2024 02:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants