-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
47cbd95
commit 6b9e5c3
Showing
8 changed files
with
137 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
"""Govee Thermometer/Humidity BLE HCI monitor sensor integration.""" | ||
REQUIREMENTS = ["bleson==0.1.6"] | ||
REQUIREMENTS = ["bleson==0.1.8"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,33 @@ | ||
"""Constants for the Govee BLE HCI monitor sensor integration.""" | ||
|
||
DOMAIN = "govee_ble_hci" | ||
|
||
# Configuration options | ||
CONF_ROUNDING = "rounding" | ||
CONF_DECIMALS = "decimals" | ||
CONF_PERIOD = "period" | ||
CONF_LOG_SPIKES = "log_spikes" | ||
CONF_USE_MEDIAN = "use_median" | ||
CONF_HCITOOL_ACTIVE = "hcitool_active" | ||
CONF_HCI_DEVICE = "hci_device" | ||
CONF_GOVEE_DEVICES = "govee_devices" | ||
CONF_DEVICE_MAC = "mac" | ||
CONF_DEVICE_NAME = "name" | ||
CONF_GOVEE_DEVICES = "govee_devices" | ||
CONF_HCI_DEVICE = "hci_device" | ||
CONF_LOG_SPIKES = "log_spikes" | ||
CONF_PERIOD = "period" | ||
CONF_ROUNDING = "rounding" | ||
CONF_TEMP_RANGE_MAX_CELSIUS = "temp_range_max_celsius" | ||
CONF_TEMP_RANGE_MIN_CELSIUS = "temp_range_min_celsius" | ||
CONF_USE_MEDIAN = "use_median" | ||
|
||
|
||
# Default values for configuration options | ||
DEFAULT_ROUNDING = True | ||
DEFAULT_DECIMALS = 2 | ||
DEFAULT_PERIOD = 60 | ||
DEFAULT_HCI_DEVICE = "hci0" | ||
DEFAULT_LOG_SPIKES = False | ||
DEFAULT_PERIOD = 60 | ||
DEFAULT_ROUNDING = True | ||
DEFAULT_TEMP_RANGE_MAX = 60.0 | ||
DEFAULT_TEMP_RANGE_MIN = -20.0 | ||
DEFAULT_USE_MEDIAN = False | ||
DEFAULT_HCITOOL_ACTIVE = False | ||
DEFAULT_HCI_DEVICE = "hci0" | ||
|
||
"""Fixed constants.""" | ||
|
||
# Sensor measurement limits to exclude erroneous spikes from the results | ||
CONF_TMIN = -20.0 | ||
CONF_TMAX = 60.0 | ||
CONF_HMIN = 0.0 | ||
CONF_HMAX = 99.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"domain": "govee_ble_hci", | ||
"domain": "sensor", | ||
"name": "Govee BLE HCI monitor sensor integration", | ||
"documentation": "https://github.com/Home-Is-Where-You-Hang-Your-Hack/sensor.goveetemp_bt_hci", | ||
"requirements": ["bleson==0.1.8"], | ||
"dependencies": [], | ||
"codeowners": ["@thrilleratplay"], | ||
"version": "0.9.2" | ||
"version": "0.10.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters