Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for Brunt."""
2 
3 from datetime import timedelta
4 
5 from homeassistant.const import Platform
6 
7 DOMAIN = "brunt"
8 ATTR_REQUEST_POSITION = "request_position"
9 NOTIFICATION_ID = "brunt_notification"
10 NOTIFICATION_TITLE = "Brunt Cover Setup"
11 ATTRIBUTION = "Based on an unofficial Brunt SDK."
12 PLATFORMS = [Platform.COVER]
13 
14 CLOSED_POSITION = 0
15 OPEN_POSITION = 100
16 
17 REGULAR_INTERVAL = timedelta(seconds=20)
18 FAST_INTERVAL = timedelta(seconds=5)