Skip to content

Commit

Permalink
fixed MV MQTT parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
nsthompson committed May 30, 2024
1 parent 25f9cfd commit 99f4e19
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 19 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,30 @@

**Topics**

- <a href="#v1-1-1">v1\.1\.1</a>
- <a href="#minor-changes">Minor Changes</a>
- <a href="#breaking-changes--porting-guide">Breaking Changes / Porting Guide</a>
- <a href="#v1-1-0">v1\.1\.0</a>
- <a href="#release-summary">Release Summary</a>
- <a href="#new-plugins">New Plugins</a>
- <a href="#lookup">Lookup</a>

<a id="v1-1-1"></a>
## v1\.1\.1

<a id="minor-changes"></a>
### Minor Changes

* configure\_meraki\_mv \- Updated data handling for MQTT configuration with camera sense\.

<a id="breaking-changes--porting-guide"></a>
### Breaking Changes / Porting Guide

* configure\_meraki\_mr \- Data model updated to support migration to latest cisco\.meraki certified collection\.
* configure\_meraki\_mt \- Data model updated to support migration to latest cisco\.meraki certified collection\.
* configure\_meraki\_mv \- Data model updated to support migration to latest cisco\.meraki certified collection\.
* configure\_meraki\_mx \- Data model updated to support migration to latest cisco\.meraki certified collection\.

<a id="v1-1-0"></a>
## v1\.1\.0

Expand Down
30 changes: 25 additions & 5 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,31 @@
ancestor: null
releases:
1.1.0:
release_date: '2024-05-30'
changes:
release_summary: This release includes updates to support the certified cisco.meraki content collection.
release_summary: This release includes updates to support the certified cisco.meraki
content collection.
plugins:
lookup:
- description: Fetch data from the Meraki API.
name: fetch
namespace: null
- description: Fetch data from the Meraki API.

Check failure on line 9 in changelogs/changelog.yaml

View workflow job for this annotation

GitHub Actions / ansible-lint / Ansible Lint

yaml[indentation]

Wrong indentation: expected 8 but found 6
name: fetch
namespace: null
release_date: '2024-05-30'
1.1.1:
changes:
breaking_changes:
- configure_meraki_mr - Data model updated to support migration to latest cisco.meraki

Check failure on line 16 in changelogs/changelog.yaml

View workflow job for this annotation

GitHub Actions / ansible-lint / Ansible Lint

yaml[indentation]

Wrong indentation: expected 8 but found 6
certified collection.
- configure_meraki_mt - Data model updated to support migration to latest cisco.meraki
certified collection.
- configure_meraki_mv - Data model updated to support migration to latest cisco.meraki
certified collection.
- configure_meraki_mx - Data model updated to support migration to latest cisco.meraki
certified collection.
minor_changes:
- configure_meraki_mv - Updated data handling for MQTT configuration with camera

Check failure on line 25 in changelogs/changelog.yaml

View workflow job for this annotation

GitHub Actions / ansible-lint / Ansible Lint

yaml[indentation]

Wrong indentation: expected 8 but found 6
sense.
fragments:
- 1.1.0-docs.yaml

Check failure on line 28 in changelogs/changelog.yaml

View workflow job for this annotation

GitHub Actions / ansible-lint / Ansible Lint

yaml[indentation]

Wrong indentation: expected 6 but found 4
- 1.1.0-update.yaml
- 1.1.1-minor.yaml
release_date: '2024-05-30'
7 changes: 0 additions & 7 deletions changelogs/fragments/1.1.0-docs.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions changelogs/fragments/1.1.0-update.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace: wwt
name: meraki

# The version of the collection. Must be compatible with semantic versioning
version: 1.1.0
version: 1.1.1

# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@
serial: "{{ device_serial }}"
state: "{{ camera.state }}"
senseEnabled: "{{ camera.sense.senseEnabled | default(omit) }}"
mqttBrokerId: "{{ mqtt_broker_ids[camera.sense.mqttBrokerName].id | default(omit) }}"
mqttBrokerId: '{{ camera.sense["mqttBrokerName"] is defined
| ternary(mqtt_broker_ids[camera.sense.get("mqttBrokerName")].id, omit) }}'
audioDetection: "{{ ((camera.sense.audioDetection is defined)
and (camera.sense.audioDetection.enabled)
and (camera.sense.senseEnabled))
Expand Down

0 comments on commit 99f4e19

Please sign in to comment.