Skip to content

A blueprint to use a ZEN32 Scene Controller to control an exhaust fan.

License

Notifications You must be signed in to change notification settings

sdwilsh/ha-zen32-exhaust-fan-blueprint

Repository files navigation

ha-zen32-exhaust-fan-blueprint

A blueprint to use a Zooz ZEN32 Scene Controller to control an exhaust fan.

Import Blueprint in Home Assistant

You can also see the discussion about this Blueprint in the Home Assistant Community Blueprint Exchange.

Requirements

  • Timer entity to track time remaining for the exhaust fan
  • Switch entity to turn the fan on/off (can be the scene controller if wired that way)
  • Device for the scene controller.

Diagram

┌────────────────────────────────────┐
│                                    │
│ ┌─┐ Blue when off                  │
│ └─┘ White w/ time left > 45m       │
│     Green when on w/ no time set   │
│                                    │
│                                    │
│                                    │
│                                    │
│                                    │
│                                    │
│                                    │
│                                    │
│                                    │
│ 60m/off                            │
└────────────────────────────────────┘

┌────────────────┐  ┌────────────────┐
│     White w/   │  │     White w/   │
│ ┌─┐ time left  │  │ ┌─┐ time left  │
│ └─┘ <= 10m     │  │ └─┘ > 20m and  │
│                │  │     <= 30m     │
│                │  │                │
│                │  │                │
│ 10m            │  │ 20m            │
└────────────────┘  └────────────────┘

┌────────────────┐  ┌────────────────┐
│     White w/   │  │     White w/   │
│ ┌─┐ time left  │  │ ┌─┐ time left  │
│ └─┘ > 20m and  │  │ └─┘ > 30m and  │
│     <= 30m     │  │     <= 45m     │
│                │  │                │
│                │  │                │
│ 30m            │  │ 45m            │
└────────────────┘  └────────────────┘

Contributing

Setup

python3.10 -m venv .venv
source .venv/bin/activate

# Install Requirements
pip install -r requirements.txt

# One-Time Install of Commit Hooks
pre-commit install

Testing

Tests are run with pytest.

About

A blueprint to use a ZEN32 Scene Controller to control an exhaust fan.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •