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

Distinction between Switchable & Lighting tags unclear #27

Closed
bkpsu opened this issue Feb 27, 2018 · 3 comments
Closed

Distinction between Switchable & Lighting tags unclear #27

bkpsu opened this issue Feb 27, 2018 · 3 comments

Comments

@bkpsu
Copy link

bkpsu commented Feb 27, 2018

When attempting to explain the difference between Switchable and Lighting tags recently, I read in the documentation that "Switchable" tags allow percentage settings, similar to the Lighting tag. To me, this is redundant and counter-intuitive, as "Switchable" (stemming from the word "Switch") should pertain to items that are discrete, not analog. I.e. there can be multiple switch positions, but as soon as you start discussing percentage/position in terms of home automation, we enter the realm of dimmers and volume knobs.

Perhaps a more intuitive solution would be to add a third tag: [ "Dimmable" ], which would allow analog settings, while the [ "Switchable" ] tag would only pertain to ON/OFF (or Selection type) items?

This would then be aligned to the items definition, where Switch is a discrete ON/OFF while Dimmer is analog.

@skimdankish
Copy link
Contributor

Perhaps in the future, but both Alexa and Google Assistant use the HomeKit nomenclature for items and from what I have seen this is how it was coded. Prior to adding here, it would likely need to be added to the Openhab HomeKit standard so that it's consistent.

https://docs.openhab.org/addons/ios/homekit/readme.html

@marziman
Copy link
Collaborator

marziman commented May 4, 2018

That is something we are tackling and trying to solve. Here is some discussion about that:
eclipse-archived/smarthome#4390 (comment)
BR Mehmet

@bkpsu bkpsu closed this as completed Nov 19, 2019
@bkpsu
Copy link
Author

bkpsu commented Nov 19, 2019

@michikrug @marziman - closing issue, as #118 and the new Google actions implemented make it pretty clear there are different types of Switch actions, for different types of devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants