Skip to content

Commit

Permalink
Bump aiohue to version 4.7.3 (#124436)
Browse files Browse the repository at this point in the history
  • Loading branch information
idekker authored and balloob committed Aug 25, 2024
1 parent a128e2e commit fa914b2
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/hue/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"iot_class": "local_push",
"loggers": ["aiohue"],
"quality_scale": "platinum",
"requirements": ["aiohue==4.7.2"],
"requirements": ["aiohue==4.7.3"],
"zeroconf": ["_hue._tcp.local."]
}
6 changes: 3 additions & 3 deletions homeassistant/components/hue/v2/hue_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ def handle_rotary_event(evt_type: EventType, hue_resource: RelativeRotary) -> No
CONF_DEVICE_ID: device.id, # type: ignore[union-attr]
CONF_UNIQUE_ID: hue_resource.id,
CONF_TYPE: hue_resource.relative_rotary.rotary_report.action.value,
CONF_SUBTYPE: hue_resource.relative_rotary.last_event.rotation.direction.value,
CONF_DURATION: hue_resource.relative_rotary.last_event.rotation.duration,
CONF_STEPS: hue_resource.relative_rotary.last_event.rotation.steps,
CONF_SUBTYPE: hue_resource.relative_rotary.rotary_report.rotation.direction.value,
CONF_DURATION: hue_resource.relative_rotary.rotary_report.rotation.duration,
CONF_STEPS: hue_resource.relative_rotary.rotary_report.rotation.steps,
}
hass.bus.async_fire(ATTR_HUE_EVENT, data)

Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ aioharmony==0.2.10
aiohomekit==3.2.3

# homeassistant.components.hue
aiohue==4.7.2
aiohue==4.7.3

# homeassistant.components.imap
aioimaplib==1.1.0
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ aioharmony==0.2.10
aiohomekit==3.2.3

# homeassistant.components.hue
aiohue==4.7.2
aiohue==4.7.3

# homeassistant.components.imap
aioimaplib==1.1.0
Expand Down
12 changes: 9 additions & 3 deletions tests/components/hue/fixtures/v2_resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,9 @@
},
{
"button": {
"last_event": "short_release"
"button_report": {
"event": "short_release"
}
},
"id": "c658d3d8-a013-4b81-8ac6-78b248537e70",
"id_v1": "/sensors/50",
Expand Down Expand Up @@ -1327,7 +1329,9 @@
},
{
"button": {
"last_event": "short_release"
"button_report": {
"event": "short_release"
}
},
"id": "7f1ab9f6-cc2b-4b40-9011-65e2af153f75",
"id_v1": "/sensors/10",
Expand Down Expand Up @@ -1366,7 +1370,9 @@
},
{
"button": {
"last_event": "short_release"
"button_report": {
"event": "short_release"
}
},
"id": "31cffcda-efc2-401f-a152-e10db3eed232",
"id_v1": "/sensors/5",
Expand Down

0 comments on commit fa914b2

Please sign in to comment.