Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bump version to 0.18.0 #621

Merged
merged 1 commit into from
Oct 17, 2021
Merged

Bump version to 0.18.0 #621

merged 1 commit into from
Oct 17, 2021

Conversation

felipediel
Copy link
Collaborator

@felipediel felipediel commented Oct 13, 2021

Breaking changes

  • Rename broadlink.device.device to broadlink.device.Device.
  • Change crc16() to CRC16.calculate()
  • Change hysen.TYPE from "Hysen heating controller" to "HYS".
  • Change hysen.model from "HY02B05H" to "HY02/HY03".
  • Remove local_ip_address option from broadlink.hello()
  • Refactor SUPPORTED_TYPES.

Before

SUPPORTED_TYPES = {
    0x0000: (sp1, "SP1", "Broadlink"),
    0x2717: (sp2, "NEO", "Ankuoo"),
    0x2719: (sp2, "SP2-compatible", "Honeywell"),
    0x271A: (sp2, "SP2-compatible", "Honeywell"),
    ...
}

After

SUPPORTED_TYPES = {
    sp1: {
        0x0000: ("SP1", "Broadlink"),
    },
    sp2: {
        0x2717: ("NEO", "Ankuoo"),
        0x2719: ("SP2-compatible", "Honeywell"),
        0x271A: ("SP2-compatible", "Honeywell"),
        ...
    }
    ...
}

Changelog:

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

Successfully merging this pull request may close these issues.

1 participant