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

tweaked some English grammar #166

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wayneoutthere
Copy link

Tweaked some English. Review to be sure corrections didn't impede meaning.

Tweaked some English.  Review to be sure corrections didn't impede  meaning.
Copy link
Member

@mzanetti mzanetti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for your help. Much appreciated.

I've noted some things that seem to require further improvements though.

the ui to be used for this [ThingClass](/documentation/developers/integrations/thing-class#interfaces). For example, having a plugin that can control a dimmable light would likely have a
state named "powered" of type boolean and one named "brightness" of type int, ranging from 0 to 100%. Having just this
information, the ui would create a generic switch component to flip the bool state and a generic slider component to
that the UI (User Interface) be used for this [ThingClass](/documentation/developers/integrations/thing-class#interfaces). For example, having a plugin that can control a dimmable light would likely have a
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a native english speaker, but this doesn't sound right to me.

So the way it works is that if a plugin developer for example specifies the "light" interface, nymea:app would pick the UI for lights, if a plugin developer specifies the thermostat interface, nymea:app would pick the thermostat UI for the device.


A interface can extend another interface. For example, the light interface only requires one state called powered of type bool.
An interface can extend another interface. For example, the light interface only requires one state called _powered off type bool_.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the light interface requires one state. The states name is "power" and the states type is "bool". So it seems the change from "of" to "off" as well as making the whole thing italic (with the underscores) wasn't right.

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

Successfully merging this pull request may close these issues.

2 participants