Skip to content

Commit

Permalink
Merge pull request #10 from raetha/devel
Browse files Browse the repository at this point in the history
1.0.1
  • Loading branch information
raetha authored Mar 26, 2020
2 parents 56ed240 + 7c2e7be commit f754304
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions wyzesense2mqtt/version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.0.1
3 changes: 1 addition & 2 deletions wyzesense2mqtt/wyzesense2mqtt.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'''
WyzeSense to MQTT Gateway
v1.0
'''
import json
import logging
Expand Down Expand Up @@ -140,7 +139,7 @@ def init_sensors():
for sensor_mac in result:
if (valid_sensor_mac(sensor_mac)):
if (SENSORS.get(sensor_mac) is None):
add_sensor_to_config(sensor_mac)
add_sensor_to_config(sensor_mac, None, None)
send_discovery_topics(sensor_mac)
else:
LOGGER.warning(f"Sensor list failed with result: {result}")
Expand Down

0 comments on commit f754304

Please sign in to comment.