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

Look for open closed state first #658

Merged
merged 1 commit into from
Nov 25, 2021
Merged

Look for open closed state first #658

merged 1 commit into from
Nov 25, 2021

Conversation

tetienne
Copy link
Collaborator

@tetienne tetienne commented Nov 19, 2021

Fix #487

@github-actions github-actions bot added the bug Something isn't working label Nov 19, 2021
@tetienne tetienne marked this pull request as ready for review November 19, 2021 13:18
state = self.executor.select_state(
CORE_OPEN_CLOSED_STATE,
CORE_SLATS_OPEN_CLOSED_STATE,
CORE_OPEN_CLOSED_PARTIAL_STATE,
CORE_OPEN_CLOSED_PEDESTRIAN_STATE,
CORE_OPEN_CLOSED_UNKNOWN_STATE,
MYFOX_SHUTTER_STATUS_STATE,
Copy link
Owner

Choose a reason for hiding this comment

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

Why did you remove this one? If I recall correctly, we use this for the Camera Shutter.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ah yes indeed, sorry. I found the issue where you add it. Feel weird to me to have it as a cover and not has a switch.

@tetienne
Copy link
Collaborator Author

@iMicknl Can you please review and merge this PR ?

@tetienne tetienne merged commit 07bdc6c into master Nov 25, 2021
@tetienne tetienne deleted the fix/gate-position branch November 25, 2021 20:33
egguy pushed a commit to egguy/ha-tahoma that referenced this pull request Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gate (DiscreteGateWithPedestrianPosition) does not report static status
2 participants