Skip to content

Commit

Permalink
v8.13.7 bugfix release
Browse files Browse the repository at this point in the history
  • Loading branch information
kizniche committed Apr 6, 2022
1 parent c7a106d commit af7eeec
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 11 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 8.13.7 (2022-04-06)

### Bugfixes

- Fix showing graph widgets with Outputs that have no name custom option


## 8.13.6 (2022-04-06)

### Bugfixes
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Mycodo

Environmental Regulation System

Latest version: 8.13.6
Latest version: 8.13.7

Mycodo is open source software for the Raspberry Pi that couples inputs and outputs in interesting ways to sense and manipulate the environment.

Expand Down
2 changes: 1 addition & 1 deletion mycodo/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
sys.path.append(os.path.abspath(os.path.dirname(__file__)))
from config_translations import TRANSLATIONS as T

MYCODO_VERSION = '8.13.6'
MYCODO_VERSION = '8.13.7'
ALEMBIC_VERSION = 'b354722c9b8b'

# FORCE_UPGRADE_MASTER
Expand Down
1 change: 0 additions & 1 deletion mycodo/outputs/on_off_hs300.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
}
],


'custom_channel_options': [
{
'id': 'name',
Expand Down
1 change: 0 additions & 1 deletion mycodo/outputs/on_off_hs300_0_4_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
}
],


'custom_channel_options': [
{
'id': 'name',
Expand Down
1 change: 0 additions & 1 deletion mycodo/outputs/on_off_kp303.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
}
],


'custom_channel_options': [
{
'id': 'name',
Expand Down
1 change: 0 additions & 1 deletion mycodo/outputs/on_off_kp303_0_4_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
}
],


'custom_channel_options': [
{
'id': 'name',
Expand Down
15 changes: 10 additions & 5 deletions mycodo/widgets/widget_graph_synchronous.py
Original file line number Diff line number Diff line change
Expand Up @@ -993,11 +993,16 @@ def generate_page_variables(widget_unique_id, widget_options):
{{' (CH' + (device_measurements_dict[measurement_id].channel)|string}}
{%- for channel_num in dict_outputs[this_output.output_type]['channels_dict'] -%}
{%- if device_measurements_dict[measurement_id].channel in dict_outputs[this_output.output_type]['channels_dict'][channel_num]['measurements'] -%}
{{', ' + custom_options_values_output_channels[output_id][channel_num]['name']}}
{%- endif -%}
{%- endfor -%}
{%- if 'channels_dict' in dict_outputs[this_output.output_type] -%}
{%- for channel_num in dict_outputs[this_output.output_type]['channels_dict'] -%}
{%- if device_measurements_dict[measurement_id].channel in dict_outputs[this_output.output_type]['channels_dict'][channel_num]['measurements'] and
output_id in custom_options_values_output_channels and
channel_num in custom_options_values_output_channels[output_id] and
'name' in custom_options_values_output_channels[output_id][channel_num] -%}
{{', ' + custom_options_values_output_channels[output_id][channel_num]['name']}}
{%- endif -%}
{%- endfor -%}
{%- endif -%}
{%- if dict_measure_measurements[measurement_id] in dict_measurements and
dict_measurements[dict_measure_measurements[measurement_id]]['name'] -%}
Expand Down

0 comments on commit af7eeec

Please sign in to comment.