Skip to content

Add missing stuff for thermostat support#71

Closed
titilambert wants to merge 4 commits into
zigpy:masterfrom
titilambert:patch-1
Closed

Add missing stuff for thermostat support#71
titilambert wants to merge 4 commits into
zigpy:masterfrom
titilambert:patch-1

Conversation

@titilambert
Copy link
Copy Markdown

No description provided.

@coveralls
Copy link
Copy Markdown

coveralls commented Nov 9, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 07c75ec on titilambert:patch-1 into d42d6eb on rcloran:master.

@titilambert
Copy link
Copy Markdown
Author

titilambert commented Nov 9, 2017

This closes #70 @rcloran

@coveralls
Copy link
Copy Markdown

coveralls commented Nov 12, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling d2adb53 on titilambert:patch-1 into d42d6eb on rcloran:master.

@coveralls
Copy link
Copy Markdown

coveralls commented Nov 12, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 94219a2 on titilambert:patch-1 into d42d6eb on rcloran:master.

@coveralls
Copy link
Copy Markdown

coveralls commented Jan 14, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling 6e25003 on titilambert:patch-1 into c39f58e on rcloran:master.

@coveralls
Copy link
Copy Markdown

coveralls commented Jan 14, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling 9635502 on titilambert:patch-1 into c39f58e on rcloran:master.

2 similar comments
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling 9635502 on titilambert:patch-1 into c39f58e on rcloran:master.

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling 9635502 on titilambert:patch-1 into c39f58e on rcloran:master.

Comment thread bellows/types/basic.py


class enum16(uint16_t): # noqa: N801
_enum = True
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why do you need the _enum attribute? Seems unused here, or in your home-assistant PR.

@rcloran
Copy link
Copy Markdown
Collaborator

rcloran commented Feb 5, 2018

It looks like this has been superseded by #91. If that's not the case, please do re-open the PR in zigpy (https://github.com/zigpy/zigpy).

@rcloran rcloran closed this Feb 5, 2018
igorbernstein2 pushed a commit to igorbernstein2/zigpy that referenced this pull request Feb 10, 2018
According to ZigBee Cluster Library Specification Revision 6 Draft Version 1.0. The Fan Control cluster (0x0202) has 2 attributes both are enum8.
Currently zigpy treats all enums as unit8_t & unit16_t, which causes the following error when those attributes are written:
[[<WriteAttributesStatusRecord status=Status.INVALID_DATA_TYPE attrid=0>]]

This change has been verified to work on the following fan receiver:
https://www.homedepot.com/p/Hampton-Bay-Universal-Wink-Enabled-White-Ceiling-Fan-Premier-Remote-Control-99432/206591100.

This change is based on:
zigpy/bellows#71
rcloran pushed a commit to zigpy/zigpy that referenced this pull request Feb 12, 2018
According to ZigBee Cluster Library Specification Revision 6 Draft Version 1.0. The Fan Control cluster (0x0202) has 2 attributes both are enum8.
Currently zigpy treats all enums as unit8_t & unit16_t, which causes the following error when those attributes are written:
[[<WriteAttributesStatusRecord status=Status.INVALID_DATA_TYPE attrid=0>]]

This change has been verified to work on the following fan receiver:
https://www.homedepot.com/p/Hampton-Bay-Universal-Wink-Enabled-White-Ceiling-Fan-Premier-Remote-Control-99432/206591100.

This change is based on:
zigpy/bellows#71
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.

3 participants