purifier-card 2.5.2 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35,7 +35,7 @@ jobs:
35
35
  name: Release
36
36
  runs-on: ubuntu-latest
37
37
  needs: [validate]
38
- if: github.repository == 'denysdovhan/purifier-card' && github.event_name == 'push' && github.ref_name == 'main'
38
+ if: github.ref_name == 'main' && (github.event_name == 'push' || github.event.pull_request.merged)
39
39
  steps:
40
40
  - name: ⬇️ Checkout Repo
41
41
  uses: actions/checkout@v4
@@ -66,7 +66,7 @@ jobs:
66
66
  steps:
67
67
  - name: 💿 Dependabot metadata
68
68
  id: metadata
69
- uses: dependabot/fetch-metadata@v1
69
+ uses: dependabot/fetch-metadata@v2
70
70
  with:
71
71
  github-token: ${{ secrets.GITHUB_TOKEN }}
72
72
 
package/README.md CHANGED
@@ -146,6 +146,7 @@ You can define [custom scripts][ha-scripts] for custom actions or add shortcuts
146
146
  | `name` | `string` | Optional | Friendly name of the shortcut, i.e. `Switch to Auto`. |
147
147
  | `icon` | `string` | Optional | Any icon for shortcut button. |
148
148
  | `service` | `string` | Optional | A service to call, i.e. `script.clean_air`. |
149
+ | `target` | `object` | Optional | A `HassServiceTarget`, to define a target for the current service call. |
149
150
  | `service_data` | `object` | Optional | `service_data` for `service` call |
150
151
  | `percentage` | `object` | Optional | A `percentage` to switch to, i.e. `27`, etc. See `entity`'s `percentage_step` for valid values. |
151
152
  | `preset_mode` | `object` | Optional | A `speed` to switch to, i.e. `Auto`, etc |