Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Commit

Permalink
Bump eq3bt and allow interface selection (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
TechHummel authored Nov 28, 2022
1 parent 42ea9d7 commit 6475a38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions config.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ manager:
# mac: 00:11:22:33:44:55
# discovery_temperature_topic: some/sensor/with/temperature # Optional current_temperature_topic for HASS discovery
# discovery_temperature_template: "{{ value_json.temperature }}" # Optional current_temperature_template for HASS discovery
# interface: 0 # Optional interface id for bt communication
# topic_prefix: thermostat
# topic_subscription: thermostat/+/+/set
# update_interval: 60
Expand Down
4 changes: 2 additions & 2 deletions workers/thermostat.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from workers.base import BaseWorker, retry
import logger

REQUIREMENTS = ["python-eq3bt==0.1.11"]
REQUIREMENTS = ["python-eq3bt==0.1.12"]
_LOGGER = logger.get(__name__)

MODE_HEAT = "heat"
Expand Down Expand Up @@ -44,7 +44,7 @@ def _setup(self):
elif isinstance(obj, dict):
self.devices[name] = {
"mac": obj["mac"],
"thermostat": Thermostat(obj["mac"]),
"thermostat": Thermostat(obj["mac"], obj.get("interface")),
"discovery_temperature_topic": obj.get(
"discovery_temperature_topic"
),
Expand Down

0 comments on commit 6475a38

Please sign in to comment.