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

Added support for yeelink.light.lamp1 and qmi.powerstrip.v1 devices #875

Merged
merged 2 commits into from Nov 23, 2022

Conversation

uswong
Copy link
Contributor

@uswong uswong commented Nov 12, 2022

Added support for yeelink.light.lamp1 and qmi.powerstrip.v1 devices. This resolves the issue #873.

The following lines are added to miio2miot_specs.py in order to support the above two devices:

  'yeelink.light.lamp1': {
      'miio_specs': {
          'prop.2.1': {'prop': 'power', 'setter': True, 'format': 'onoff'},
          'prop.2.2': {'prop': 'bright', 'setter': True},
          'prop.2.3': {'prop': 'ct', 'setter': 'set_ct_abx', 'set_template': '{{ [value,"smooth",500] }}'},
          'prop.2.4': {'prop': 'color_mode'},
      },
  },

and

  'qmi.powerstrip.v1': {
      'miio_specs': {
          'prop.2.1': {'prop': 'power', 'setter': True, 'format': 'onoff'},
      },
  },

Added support for yeelink.light.lamp1 and qmi.powerstrip.v1 devices
@al-one al-one merged commit 150fca1 into al-one:master Nov 23, 2022
@al-one al-one linked an issue Nov 23, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Are the devices "qmi.powerstrip.v1" and "yeelink.light.lamp1" supported
2 participants