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

Change Dim into OnOff? #1

Open
killvn opened this issue Dec 21, 2018 · 2 comments
Open

Change Dim into OnOff? #1

killvn opened this issue Dec 21, 2018 · 2 comments

Comments

@killvn
Copy link

killvn commented Dec 21, 2018

All the lights get in the Capabilities "dim", I want more options Capabilities "dim" or "onoff".

@rogro82
Copy link
Owner

rogro82 commented Dec 21, 2018

Light capabilities are based on the supported_features attribute reported by home-assistant. So if a light has a dim feature in HA it will also have that capability in Homey.

If you want to just want to be able to switch a light on/off then i would suggest either creating a switch in HA or use the custom_component and bind a light entity to the onoff capability.

Something like:

homey:
  some_light:
    name: Some light
    capabilities:
      onoff: light.some_light

@killvn
Copy link
Author

killvn commented Dec 25, 2018

Thanks rogro82,
There's a problem. Homey does not automatically reconnect after I restart or re-power the Hass.

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

2 participants