mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-01 18:48:28 +02:00
Fix AS3935 sensor configuration issues (#1210)
* Fix AS3935 coniguration * Increase verbosity
This commit is contained in:
committed by
GitHub
parent
7d2fcf59fd
commit
b270ff335d
@@ -27,4 +27,4 @@ def to_code(config):
|
||||
if CONF_LIGHTNING_ENERGY in config:
|
||||
conf = config[CONF_LIGHTNING_ENERGY]
|
||||
lightning_energy_sensor = yield sensor.new_sensor(conf)
|
||||
cg.add(hub.set_distance_sensor(lightning_energy_sensor))
|
||||
cg.add(hub.set_energy_sensor(lightning_energy_sensor))
|
||||
|
||||
Reference in New Issue
Block a user