Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using moisture sensors to control programs
#22
I cannot install the moisture_sensor_data_mqtt plugin because 

1.) the following code in plugin_manager.py

Code:
            short_list = [
                x for x in file_list if not "data" in x and not "manifest" in x
            ]

The check 'if not "data"' filters out all the entries from the manifest file giving a empty list.

Code:
moisture_sensor_data_mqtt.py plugins
moisture_sensor_data_mqtt.html templates
moisture_sensor_data_mqtt-docs.html static/docs/plugins
moisture_sensor_data_mqtt.json data (generated)
moisture_sensor_data_mqtt.manifest plugins/manifests
moisture_sensor_data_chart.json data/simple_chart

if I change the check to  'if not " data "' (which probably is not correct) I can install the plugin but I cannot enable the plugin.

2.) I require the python module jmespath
Does this need to be added by hand or can it be included in the base SIP install?
Reply


Messages In This Thread
RE: Using moisture sensors to control programs - by cdesouza - 2024 Mar 05, 12:51 PM

Forum Jump:


Users browsing this thread: 9 Guest(s)