Modern Forms Smart Fan Integration for Home Assistant
Modern Forms Smart Fans contain a WiFi module that can be controlled with basic json http posts. The API was derived from the Moden Forms Android application.
The component creates a FanEntity and a LightEntity (if enabled)
To install using HACS, on the Integrations
page, select the three-dot menu and add a Custom Repository
. Enter https://github.com/jimpastos/ha-modernforms
.
Create a directory in .homeassistant/custom_components/modernforms/ and place the files from this repo there.
On the integrations page, click "Add Integration" and search for "Modern Forms" and follow the prompts.
To test changes locally you can use Docker Compose. If you want log output in your local timezone, instead of UTC, you will need to specify TZ
variable value.
Start Home Assistant:
TZ="$(cat /etc/timezone)" docker-compose up
This will create the normal config
directory in .config
. Once done, you probably will want to configure your logging:
# .config/configuration.yaml
logger:
default: info