Skip to content

Commit

Permalink
change event entity
Browse files Browse the repository at this point in the history
  • Loading branch information
pszafer committed Aug 4, 2023
1 parent 221036f commit 58ddbfa
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions boneio/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@

from boneio.const import (
ADC,
BINARY_SENSOR,
COVER,
DALLAS,
DS2482,
ENABLED,
HA_DISCOVERY,
HOST,
INPUT,
EVENT_ENTITY,
LM75,
MCP23017,
PCA9685,
Expand Down Expand Up @@ -78,8 +79,8 @@ async def async_run(
send_message=client.send_message,
stop_client=client.stop_client,
relay_pins=config.get(OUTPUT, []),
event_pins=config.get("event_sensor", []),
binary_pins=config.get("binary_sensor", []),
event_pins=config.get(EVENT_ENTITY, []),
binary_pins=config.get(BINARY_SENSOR, []),
config_file_path=config_file,
state_manager=StateManager(
state_file=f"{os.path.split(config_file)[0]}state.json"
Expand Down

0 comments on commit 58ddbfa

Please sign in to comment.