diff options
| author | root <root@turin.home> | 2022-01-30 15:40:19 +0000 |
|---|---|---|
| committer | root <root@turin.home> | 2022-01-30 15:40:19 +0000 |
| commit | 74a189c366e07e681176bc207bdcc1aa316790c7 (patch) | |
| tree | 0c90a5a59f239e2b9206cdd5b1ceb670a9fc3540 | |
| parent | 4fba299e5e36101a43c7e894cb2bf235ed2e3f58 (diff) | |
Type errors
| -rw-r--r-- | api.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -23,14 +23,14 @@ def api_info(): @app.route("/api/current_temperature") def api_current_temperature(): - return boiler.temperature + return str(boiler.temperature) @app.route("/api/target_temperature") def api_target_temperature(): - return boiler.target + return str(boiler.target) @app.route("/api/heating_on") def api_on(): - return boiler.on + return str(boiler.on) |
