Skip to content

Represent bulb as a light instead of switch entity #42

@marthoc

Description

@marthoc

Hello,

Any chance of getting the light as a light instead of a switch? I’d like to control the brightness form HA.

Derek

On Dec 18, 2021, at 6:08 PM, Kevin David @.***> wrote:

As reported in #38 #38, this simple fix should address this problem - and it did for me as well.

I assume this will not cause problems for folks who use the integration with earlier versions, but it'd be great if someone could check my assumption there!

You can view, comment on, or merge this pull request online at:

#41 #41
Commit Summary

e907377 e907377 Fix integration for HA versions 2021.12.0 or later
File Changes (1 file https://github.com/marthoc/kuna/pull/41/files)
M custom_components/kuna/camera.py https://github.com/marthoc/kuna/pull/41/files#diff-0ed86c5a2cda30bee4bfb215d1bc3bf13c3766ae07358cf1da75250533a3b47f (2)
Patch Links:

https://github.com/marthoc/kuna/pull/41.patch https://github.com/marthoc/kuna/pull/41.patch
https://github.com/marthoc/kuna/pull/41.diff https://github.com/marthoc/kuna/pull/41.diff

Reply to this email directly, view it on GitHub #41, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHOJDTKRVCWQW3S6AHV7HT3URUWCNANCNFSM5KLI4R3Q.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.

Originally posted by @mcfarlde in #41 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions