Skip to content

Add missing "gate" cover device_class#7744

Merged
bramkragten merged 1 commit intohome-assistant:devfrom
pdecat:add_missing_gate_cover_device_class
Nov 20, 2020
Merged

Add missing "gate" cover device_class#7744
bramkragten merged 1 commit intohome-assistant:devfrom
pdecat:add_missing_gate_cover_device_class

Conversation

@pdecat
Copy link
Contributor

@pdecat pdecat commented Nov 20, 2020

Proposed change

This PR adds the missing "gate" device_class for covers:

image

See https://github.com/home-assistant/core/blob/0.118.1/homeassistant/components/cover/__init__.py#L54-L65
and home-assistant/core@0148708

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example configuration

In customize.yaml:

cover.mygate:
  device_class: gate

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue or discussion:
  • Link to documentation pull request:

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

@bramkragten bramkragten merged commit 9702392 into home-assistant:dev Nov 20, 2020
@pdecat pdecat deleted the add_missing_gate_cover_device_class branch November 20, 2020 14:15
@github-actions github-actions bot locked and limited conversation to collaborators Nov 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants