From ac6cf9f691895913c34fe667d2e52aeff9394bc9 Mon Sep 17 00:00:00 2001 From: Jonny Bergdahl Date: Fri, 5 Jul 2024 00:38:42 +0200 Subject: [PATCH] Add link to README.md Fix service.yaml --- README.md | 6 ++++++ custom_components/growcube/manifest.json | 2 +- custom_components/growcube/services.yaml | 8 ++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cdeedaf..1a08aa7 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,12 @@ Home Assistant integration for the [Elecrow GrowCube](https://www.elecrow.com/gr > will not be able to connect using the phone app while Home Assistant is running the integration, > or vice versa. +## Installing the integration + +Click the button to add this repository to HACS. + +[![Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.](https://my.home-assistant.io/badges/hacs_repository.svg)](https://my.home-assistant.io/redirect/hacs_repository/?owner=jonnybergdahl&category=Integration&repository=HomeAssistant_Growcube_Integration) + ## Getting help You can reach me at [#jonnys-place](https://discord.gg/SeHKWPu9Cw) on Brian Lough's Discord. diff --git a/custom_components/growcube/manifest.json b/custom_components/growcube/manifest.json index a0132f5..98f3463 100644 --- a/custom_components/growcube/manifest.json +++ b/custom_components/growcube/manifest.json @@ -5,8 +5,8 @@ "config_flow": true, "dependencies": [], "documentation": "https://github.com/jonnybergdahl/homeassistant_growcube", - "issue_tracker": "https://github.com/jonnybergdahl/homeassistant_growcube/issues", "iot_class": "local_push", + "issue_tracker": "https://github.com/jonnybergdahl/homeassistant_growcube/issues", "requirements": [ "growcube-client==1.2.2" ], diff --git a/custom_components/growcube/services.yaml b/custom_components/growcube/services.yaml index 367e72e..c63df07 100644 --- a/custom_components/growcube/services.yaml +++ b/custom_components/growcube/services.yaml @@ -3,6 +3,8 @@ water_plant: description: Water a plant for a specified duration on a specified channel fields: device_id: + name: Device + description: Growcube device required: true selector: device: @@ -34,6 +36,8 @@ set_smart_watering: description: Setup smart watering fields: device_id: + name: Device + description: Growcube device required: true selector: device: @@ -83,6 +87,8 @@ set_scheduled_watering: description: Setup scheduled watering fields: device_id: + name: Device + description: Growcube device required: true selector: device: @@ -124,6 +130,8 @@ delete_watering: description: Delete watering mode fields: device_id: + name: Device + description: Growcube device required: true selector: device: