Skip to content

Create and maintain repository with multiple Zigbee2mqtt Home Assistant add-ons

Notifications You must be signed in to change notification settings

andreypolyak/zigbee2mqtt-multi-addon-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

zigbee2mqtt-multi-addon-action

Use it to create and maintain repository with multiple Zigbee2mqtt Home Assistant add-ons.

Setup

  1. Create new empty public Github repository
  2. Click on the "Actions" tab in the tab bar
  3. Press the "New workflow" button
  4. Press the "Skip this and set up a workflow yourself →" link
  5. Replace the sample code with the following code and replace "addon 1, addon 2" with any addon names that you want to use separated with a comma (example: "Living Room, Bedroom, Garage"):
name: Multiple Zigbee2mqtt Home Assistant add-ons

on:
  schedule:
    - cron: '*/30 * * * *' # every 30 minutes
  workflow_dispatch: # on button click

jobs:
  sync:

    runs-on: ubuntu-latest

    steps:
      - uses: andreypolyak/[email protected]
        with:
          addon_names: "addon 1, addon 2"
          github_token: ${{ github.token }}
  1. Press the "Start commit" button, then "Commit new file"
  2. Click on the "Actions" tab in the tab bar once again
  3. Select the "Multiple Zigbee2mqtt Home Assistant add-ons" workflow from the side panel
  4. Press the "Run workflow" button and then once again "Run workflow" button
  5. Wait for workflow run completion
  6. Add your repository to add-on repositories in Home Assistant Supervisor

Usage

This action will automatically run every 30 minutes and check if any updates to the original Zigbee2mqtt are available. If they would be found action will update version in your repository accordingly.

To create new Zigbee2mqtt add-ons after initial setup open your workflow (.github/workflows/main.yml by default) and change the addon_names variable. Don't forget to separate add-on names with a comma.

About

Create and maintain repository with multiple Zigbee2mqtt Home Assistant add-ons

Resources

Stars

Watchers

Forks

Packages

No packages published