# Device Mixins

The `pyvesync.utils.device_mixins` modules are used to add boilerplate code for the common API requests that are used by different devices.

Please reference [Development](../index.md#vesync-apis) for more information on how to use the device mixins.

## Bypass V1 Mixins and functions

::: pyvesync.utils.device_mixins.BypassV1Mixin
    handler: python
    options:
      toc_label: "BypassV1Mixin Class"
      show_root_heading: true
      heading_level: 3
      show_source: true
      filters:
        - "!.*pid"
        - "!^__*"

::: pyvesync.utils.device_mixins.process_bypassv1_result
    handler: python
    options:
      group_by_category: true
      show_category_heading: true
      heading_level: 3
      show_root_heading: true
      show_source: true
      filters:
        - "!.*pid"
        - "!^__*"

## Bypass V2 Mixins and functions

::: pyvesync.utils.device_mixins.BypassV2Mixin
    handler: python
    options:
      toc_label: "BypassV2Mixin Class"
      show_root_heading: true
      heading_level: 3
      show_source: true
      filters:
        - "!.*pid"
        - "!^__*"

::: pyvesync.utils.device_mixins.process_bypassv2_result
    handler: python
    options:
      group_by_category: true
      show_category_heading: true
      heading_level: 3
      show_root_heading: true
      show_source: true
      filters:
        - "!.*pid"
        - "!^__*"
