Skip to content

Commit a300199

Browse files
cdnninjafrenck
authored andcommitted
Bump pyvesync to 3.2.1 (home-assistant#156195)
1 parent 09dd765 commit a300199

File tree

6 files changed

+112
-3
lines changed

6 files changed

+112
-3
lines changed

homeassistant/components/vesync/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
"documentation": "https://www.home-assistant.io/integrations/vesync",
1414
"iot_class": "cloud_polling",
1515
"loggers": ["pyvesync"],
16-
"requirements": ["pyvesync==3.1.4"]
16+
"requirements": ["pyvesync==3.2.1"]
1717
}

requirements_all.txt

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

requirements_test_all.txt

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/components/vesync/snapshots/test_diagnostics.ambr

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,11 @@
122122
'turn_off': 'Method',
123123
'turn_off_automatic_stop': 'Method',
124124
'turn_off_display': 'Method',
125+
'turn_off_drying_mode': 'Method',
125126
'turn_on': 'Method',
126127
'turn_on_automatic_stop': 'Method',
127128
'turn_on_display': 'Method',
129+
'turn_on_drying_mode': 'Method',
128130
'type': 'Method',
129131
'update': 'Method',
130132
'uuid': 'Method',
@@ -388,37 +390,48 @@
388390
'set_advanced_sleep_mode': 'Method',
389391
'set_auto_mode': 'Method',
390392
'set_fan_speed': 'Method',
393+
'set_horizontal_oscillation_range': 'Method',
391394
'set_manual_mode': 'Method',
392395
'set_mode': 'Method',
393396
'set_normal_mode': 'Method',
394397
'set_sleep_mode': 'Method',
395398
'set_state': 'Method',
396399
'set_timer': 'Method',
397400
'set_turbo_mode': 'Method',
401+
'set_vertical_oscillation_range': 'Method',
398402
'side_effect': None,
399403
'sleep_mode': 'Method',
400404
'sleep_preferences': 'Method',
401405
'state': 'Method',
402406
'sub_device_no': 'Method',
403407
'supports_displaying_type': 'Method',
408+
'supports_horizontal_oscillation': 'Method',
404409
'supports_mute': 'Method',
405410
'supports_oscillation': 'Method',
411+
'supports_set_oscillation_range': 'Method',
412+
'supports_vertical_oscillation': 'Method',
406413
'to_dict': 'Method',
407414
'to_json': 'Method',
408415
'to_jsonb': 'Method',
409416
'toggle_display': 'Method',
410417
'toggle_displaying_type': 'Method',
418+
'toggle_horizontal_oscillation': 'Method',
411419
'toggle_mute': 'Method',
412420
'toggle_oscillation': 'Method',
413421
'toggle_switch': 'Method',
422+
'toggle_vertical_oscillation': 'Method',
414423
'turn_off': 'Method',
415424
'turn_off_display': 'Method',
425+
'turn_off_horizontal_oscillation': 'Method',
416426
'turn_off_mute': 'Method',
417427
'turn_off_oscillation': 'Method',
428+
'turn_off_vertical_oscillation': 'Method',
418429
'turn_on': 'Method',
419430
'turn_on_display': 'Method',
431+
'turn_on_horizontal_oscillation': 'Method',
420432
'turn_on_mute': 'Method',
421433
'turn_on_oscillation': 'Method',
434+
'turn_on_vertical_oscillation': 'Method',
422435
'type': 'Method',
423436
'update': 'Method',
424437
'uuid': 'Method',

tests/components/vesync/snapshots/test_sensor.ambr

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -819,8 +819,58 @@
819819
'unique_id': '6000s-humidity',
820820
'unit_of_measurement': '%',
821821
}),
822+
EntityRegistryEntrySnapshot({
823+
'aliases': set({
824+
}),
825+
'area_id': None,
826+
'capabilities': dict({
827+
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
828+
}),
829+
'config_entry_id': <ANY>,
830+
'config_subentry_id': <ANY>,
831+
'device_class': None,
832+
'device_id': <ANY>,
833+
'disabled_by': None,
834+
'domain': 'sensor',
835+
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
836+
'entity_id': 'sensor.humidifier_6000s_filter_lifetime',
837+
'has_entity_name': True,
838+
'hidden_by': None,
839+
'icon': None,
840+
'id': <ANY>,
841+
'labels': set({
842+
}),
843+
'name': None,
844+
'options': dict({
845+
}),
846+
'original_device_class': None,
847+
'original_icon': None,
848+
'original_name': 'Filter lifetime',
849+
'platform': 'vesync',
850+
'previous_unique_id': None,
851+
'suggested_object_id': None,
852+
'supported_features': 0,
853+
'translation_key': 'filter_life',
854+
'unique_id': '6000s-filter-life',
855+
'unit_of_measurement': '%',
856+
}),
822857
])
823858
# ---
859+
# name: test_sensor_state[Humidifier 6000s][sensor.humidifier_6000s_filter_lifetime]
860+
StateSnapshot({
861+
'attributes': ReadOnlyDict({
862+
'friendly_name': 'Humidifier 6000s Filter lifetime',
863+
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
864+
'unit_of_measurement': '%',
865+
}),
866+
'context': <ANY>,
867+
'entity_id': 'sensor.humidifier_6000s_filter_lifetime',
868+
'last_changed': <ANY>,
869+
'last_reported': <ANY>,
870+
'last_updated': <ANY>,
871+
'state': '77',
872+
})
873+
# ---
824874
# name: test_sensor_state[Humidifier 6000s][sensor.humidifier_6000s_humidity]
825875
StateSnapshot({
826876
'attributes': ReadOnlyDict({

tests/components/vesync/snapshots/test_switch.ambr

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,8 +556,54 @@
556556
'unique_id': '6000s-display',
557557
'unit_of_measurement': None,
558558
}),
559+
EntityRegistryEntrySnapshot({
560+
'aliases': set({
561+
}),
562+
'area_id': None,
563+
'capabilities': None,
564+
'config_entry_id': <ANY>,
565+
'config_subentry_id': <ANY>,
566+
'device_class': None,
567+
'device_id': <ANY>,
568+
'disabled_by': None,
569+
'domain': 'switch',
570+
'entity_category': None,
571+
'entity_id': 'switch.humidifier_6000s_child_lock',
572+
'has_entity_name': True,
573+
'hidden_by': None,
574+
'icon': None,
575+
'id': <ANY>,
576+
'labels': set({
577+
}),
578+
'name': None,
579+
'options': dict({
580+
}),
581+
'original_device_class': None,
582+
'original_icon': None,
583+
'original_name': 'Child lock',
584+
'platform': 'vesync',
585+
'previous_unique_id': None,
586+
'suggested_object_id': None,
587+
'supported_features': 0,
588+
'translation_key': 'child_lock',
589+
'unique_id': '6000s-child_lock',
590+
'unit_of_measurement': None,
591+
}),
559592
])
560593
# ---
594+
# name: test_switch_state[Humidifier 6000s][switch.humidifier_6000s_child_lock]
595+
StateSnapshot({
596+
'attributes': ReadOnlyDict({
597+
'friendly_name': 'Humidifier 6000s Child lock',
598+
}),
599+
'context': <ANY>,
600+
'entity_id': 'switch.humidifier_6000s_child_lock',
601+
'last_changed': <ANY>,
602+
'last_reported': <ANY>,
603+
'last_updated': <ANY>,
604+
'state': 'on',
605+
})
606+
# ---
561607
# name: test_switch_state[Humidifier 6000s][switch.humidifier_6000s_display]
562608
StateSnapshot({
563609
'attributes': ReadOnlyDict({

0 commit comments

Comments
 (0)