Skip to content

Commit

Permalink
Add self.control to the Python 3 Code Action
Browse files Browse the repository at this point in the history
  • Loading branch information
kizniche committed Jan 28, 2024
1 parent 0d77fa3 commit 38d4fcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ This release changes the install directory from ~/Mycodo to /opt/Mycodo. This ne
- Move install location from ~/Mycodo to /opt/Mycodo
- Change Dashboard grid width from 20 to 24
- Add endpoint option to RAM Input for when Mycodo is using a non-standard IP/port
- Add self.control to the Python 3 Code Action
- Update Gridstack to 10.0.1
- Update alembic to 1.13.1
- Update bcrypt to 1.4.2
Expand Down
1 change: 1 addition & 0 deletions mycodo/actions/input_action_execute_python_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class PythonActionRun:
def __init__(self, logger, action_id):
self.logger = logger
self.action_id = action_id
self.control = control
def python_code_run(self, dict_vars):
"""
Expand Down

0 comments on commit 38d4fcc

Please sign in to comment.