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

Add support for pressure sensors #14361

Merged
merged 1 commit into from May 10, 2018

Conversation

damarco
Copy link
Contributor

@damarco damarco commented May 9, 2018

Description:

Add support for pressure sensors.

Checklist:

  • The code change is tested and works locally.

@fabaff fabaff changed the title zha: Add support for pressure sensors Add support for pressure sensors May 10, 2018
Copy link
Member

@fabaff fabaff left a comment

Choose a reason for hiding this comment

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

Looks good to me 🐦

@fabaff fabaff merged commit e963fc5 into home-assistant:dev May 10, 2018
def state(self):
"""Return the state of the entity."""
if self._state == 'unknown':
return 'unknown'
Copy link
Member

Choose a reason for hiding this comment

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

Return None to represent unknown state.

@damarco damarco deleted the zha-pressure-sensor branch May 13, 2018 07:54
@balloob balloob mentioned this pull request May 28, 2018
girlpunk pushed a commit to girlpunk/home-assistant that referenced this pull request Sep 4, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Sep 5, 2018
@ghost ghost removed the platform: sensor.zha label Mar 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla-signed integration: zha small-pr PRs with less than 30 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants