From f430187f5706f4cc9a53d751d8b4e4cf7757eb46 Mon Sep 17 00:00:00 2001 From: DewGew Date: Sun, 11 Feb 2024 18:17:00 +0100 Subject: [PATCH 1/5] Create stale.yml --- .github/workflows/stale.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000..0748c19 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,15 @@ +name: "Close stale issues" +on: + schedule: + - cron: "0 0 * * *" + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days' + days-before-stale: 30 + days-before-close: 5 From c40ac679d0fce280505c3b0cc37074704e9bc967 Mon Sep 17 00:00:00 2001 From: DewGew Date: Mon, 12 Feb 2024 09:05:12 +0100 Subject: [PATCH 2/5] Update dashboard.html --- templates/dashboard.html | 51 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/templates/dashboard.html b/templates/dashboard.html index b70835b..2a678cb 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -70,6 +70,14 @@
Switches
outlet {% elif v['type'] == 'action.devices.types.SWITCH' %} switch + {% elif v['type'] == 'action.devices.types.AC_UNIT' %} + ac_unit + {% elif v['type'] == 'action.devices.types.AIRPURIFIER' %} + air_purifier_gen + {% elif v['type'] == 'action.devices.types.DRYER' %} + local_laundry_service + {% elif v['type'] == 'action.devices.types.VACUUM' %} + vacuum {% elif v['type'] == 'action.devices.types.WATERHEATER' %} water_heater {% elif v['type'] == 'action.devices.types.HEATER' %} @@ -84,12 +92,26 @@
Switches
mop {% elif v['type'] == 'action.devices.types.DISHWASHER' %} dishwasher_gen + {% elif v['type'] == 'action.devices.types.KETTLE' %} + kettle + {% elif v['type'] == 'action.devices.types.GRILL' %} + outdoor_grill + {% elif v['type'] == 'action.devices.types.SPRINKLER' %} + sprinkler + {% elif v['type'] == 'action.devices.types.OVEN' %} + oven {% elif v['type'] == 'action.devices.types.WASHER' %} local_laundry_service {% elif v['type'] == 'action.devices.types.TV' %} tv {% elif v['type'] == 'action.devices.types.COFFEEMAKER' %} coffee_maker + {% elif v['type'] == 'action.devices.types.MICROWAVE' %} + microwave + {% elif v['type'] == 'action.devices.types.MOP' %} + mop + {% elif v['type'] == 'action.devices.types.MOWER' %} + grass {% elif v['type'] == 'action.devices.types.TV' %} tv {% else %} @@ -139,10 +161,39 @@
Device log | {{ v['name']['name'] }}
+ {% elif v['customData']['domain'] == 'Camera' %} +
+ nest_cam_outdoor +
{{ v['name']['name'] }}
+ Not available + +
+ {% elif v['customData']['domain'] == 'Doorbell' %}
doorbell_3p
{{ v['name']['name'] }}
+ Not available