Skip to content

feat(fan): add ceiling-fan control for light+fan combos like H1310 (#74)#90

Merged
lasswellt merged 2 commits into
masterfrom
fix/74-h1310-ceiling-fan
May 31, 2026
Merged

feat(fan): add ceiling-fan control for light+fan combos like H1310 (#74)#90
lasswellt merged 2 commits into
masterfrom
fix/74-h1310-ceiling-fan

Conversation

@lasswellt

Copy link
Copy Markdown
Owner

Fixes #74. The H1310 reports as devices.types.light so it only got a light entity; its integrated fan (fanToggle/fanSpeedMode/reverseAirflowToggle) had no control. Adds GoveeCeilingFanEntity (on/off, 6-speed, reverse-airflow direction), optimistic + RestoreEntity since the poll doesn't return fan state.

Tests: 770 passed. mypy (40 files) + flake8 clean.

Tom Lasswell and others added 2 commits May 31, 2026 09:45
…ixes #74)

The H1310 reports as devices.types.light, so it only got a light entity —
its integrated fan (fanToggle / fanSpeedMode / reverseAirflowToggle) had no
control. Add GoveeCeilingFanEntity for devices exposing those capabilities,
giving on/off, 6-speed control, and reverse-airflow direction. State is
optimistic + RestoreEntity since Govee's poll doesn't return fan state.
@lasswellt lasswellt merged commit ed5365b into master May 31, 2026
2 of 3 checks passed
@lasswellt lasswellt deleted the fix/74-h1310-ceiling-fan branch May 31, 2026 18:31
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.

H1310 Ceiling Fan missing functions to control the fan

1 participant