mirror of
https://github.com/Manuel83/craftbeerpi3
synced 2026-08-10 02:55:27 +02:00
- Login Added. Default Password is „beer“
- Several UI Adjustments - still work in progress - New API Method to add custom JavaScript to CraftBeerPi - Global Action Buttons added - Register new Web Modules for complete custom UI
This commit is contained in:
@@ -34,7 +34,7 @@ class SensorView(BaseView):
|
||||
200:
|
||||
description: Sensor Action called
|
||||
"""
|
||||
cbpi.cache.get("sensors").get(id).instance.__getattribute__(method)()
|
||||
cbpi.sensor.action(id, method)
|
||||
return ('', 204)
|
||||
|
||||
def _post_post_callback(self, m):
|
||||
|
||||
Reference in New Issue
Block a user