yonomi_platform_sdk 5.2.1 copy "yonomi_platform_sdk: ^5.2.1" to clipboard
yonomi_platform_sdk: ^5.2.1 copied to clipboard

The Yonomi Platform SDK aims to lower the curve to getting an application connected to the Yonomi Platform and working with objects in the IoT domain.

5.2.1 (2022-10-19) #

Bug Fixes #

  • pin_code_repository: hash both name and pincode (7a79e78)
  • pin_code_repository: override equals and hashcode for PinCodeCredential class (cf694ff)

5.2.0 (2022-09-15) #

Bug Fixes #

  • create_pin_code: use actionPinCodeCredentialCreatePinCodeCredential mutation (4061ad0)
  • graphql_schema: do not update graphql schema in this PR (9f3bbed)
  • pin_code_repository: add secondary constructor to directly pass credentials list (b25fb43)

Features #

  • graphql_schema: update graphql schema to latest one (5cb6e24)
  • pin_code_repository: add updatePinCode and deletePinCode actions to repository (0ff03af)
  • pin_code_trait: mutations to update or delete a pin code (a3aee9d)

5.1.0 (2022-09-02) #

Bug Fixes #

  • device_details_fragment_query: remove querying for hasNext node due to it causing problems (a3950bd)
  • pin_code_repository: fix pincode add pin action signature (39e535d)
  • scope typedefs to their file only (b90040f)

Features #

  • pin_code_repository: introduce PinCode repository (2d75ca1)
  • pin_code_repository: redefine pinCodeRepository interface for states (042e5f0)
  • pin-codes: add gql query to add new pin code credential (a3aff9f)
  • query.fragment.graphql: query more info from PinCode Trait (260411e)
  • query.fragment.graphql: query PinCode properties for a device (d978ce5)
  • schema.docs.graphql: update yp graphql schema file (ee6c68e)

5.0.3 (2022-08-26) #

Bug Fixes #

  • traits: take the trait names as they come to avoid mixups (#79) (8672866)

5.0.2 (2022-08-17) #

Bug Fixes #

  • make the trait, state, and property names predictable for use in other applications determining types (2537389)

5.0.1 (2022-05-10) #

Bug Fixes #

  • battery_level_repository.dart: Fix battery trait name in invalid exception (e51c6c8)

5.0.0 (2022-04-28) #

Bug Fixes #

  • schema.docs.graphql: Fix inputs for color set action (ccd56f3)

Code Refactoring #

  • Refactor to make code more testable (240f5e9)

BREAKING CHANGES #

4.1.0 (2022-04-26) #

Features #

  • ColorTemperatureTrait: Set ColorTemperature Action (DX-362) (#66) (a1a0a0a)

4.0.0 (2022-04-25) #

Bug Fixes #

  • Correct definitions of color trait (e439ba6)
  • Expose color repository (9ad94d1)
  • devices_repository.dart: Remove code that is not relevant to device repo (2cd2be2)
  • No longer return a separate state if a state isn't found (f1d043c)
  • Remove duplicate hsb value from schema (45e8e64)
  • Remove more duplicate types in schema (da80b22)
  • Remove UnknownTrait from this (82f8cd6)
  • Update pubspec.yaml deps and fix syntax of color graphql (1285bbd)

Features #

BREAKING CHANGES #

  • devices_repository.dart:

3.1.0 (2022-04-19) #

Bug Fixes #

Features #

  • color_temperature_repository: define new (aeb2aa6)
  • device_details_fragment/query.fragment.graphql: query for ColorDeviceTrait and ColorTemperatureDeviceTrait (0515e27)

3.0.0 (2022-03-01) #

  • Dx 356 brightness trait (#59) (eae5cdc), closes #59

BREAKING CHANGES #

    • feat: Add brightness actions query
  • feat(brightness_repository.dart): Add a repository to handle basic brightness related data access

  • refactor(devices_repository.dart,power_repository.dart): Move functions that should be in PowerRepository

  • feat(devices_repository.dart): Add brightness to the trait converter

\

  • test(power_repository_test.dart): Add test to hit power repository line not test covered

  • test(power_repository_test.dart): Refactor tests to use more sensible references

  • test: Add tests for brightness trait

  • test: rename base_repository_test to better match the actual repository name

  • fix(brightness_repository.dart): Fix path calls to brightness value

  • test(test/e2e/repository/thermostat_repository_test.dart): Remove test that is already run in another test class

  • test(lock_repository_test.dart): Move some lock tests to it's own unit test for lock repository

  • test(test/utils/test_fixtures.dart): Add a helper for e2e brightness testing

  • test(test/unit/thermostat_repository_test.dart): Add a branch to make sure an exception is thrown in thermostat repo if the trait arg isn't the right type

  • test(test/unit/power_repository_test.dart): Add a branch to make sure an exception is thrown in power repo if the type isn't right

  • test(brightness_repository_test.dart,devices_repository_test.dart): Add tests for the brightness trait

  • test(devices_repository_test.dart): Cover constructor of DeviceNameId

  • docs: updated dartdocs

  • test(power_repository_test.dart): Remove test that likely can't pass due to internal factors

  • fix(yonomi-sdk.dart): Expose new repository in lib

  • docs: updated dartdocs

  • docs: updated dartdocs

  • test(unit/devices_repository_test.dart): Change brightness device data to actual return from query

  • fix(lib/src/repository/traits/brightness_repository.dart): Reported apparently is nullable on brightness

  • feat: Add GTraitNames for color and color temperature as they come in on Hue bulbs

  • docs: updated dartdocs

  • fix(thermostat_repository.dart-thermostat_repository_test.dart): Make temp range properties match documentation

see https://developers.yonomi.com/docs/platform/util-traits/09-traits-reference/#thermostatsetting-trait as cool and heat temp range properties are nullable dynamic float ranges

  • docs: updated dartdocs

  • refactor(brightness_repository.dart): Rename b to builder to better reflect it is an action request builder

  • fix(repository.dart): Fix private constructor for Repository

  • refactor(thermostat_repository.dart): Use min/max double values rather than null to simplify range logic

  • docs: updated dartdocs

  • refactor(thermostat_repository.dart): Nulls really make more sense

  • fix(power_repository.dart): Don't use defaults for values that come back null

  • refactor: Move from if/else to try/catch for dynamic type problems and remove defaults

  • docs: updated dartdocs

Co-authored-by: Rigoberto L. Perez rigoberto.perez@allegion.com Co-authored-by: CircleCI developer@yonomi.co

2.8.2 (2022-02-18) #

Bug Fixes #

2.8.1 (2022-02-17) #

Bug Fixes #

  • lock_repository: fix State class names (b155e45)

2.8.0 (2022-02-14) #

Bug Fixes #

  • thermostat_repository.dart: Remove default to 0.0 from ambient and target temp (4e6e694)
  • Fix introduced unmerged changes (2114d3b)

Features #

  • thermostat_repository.dart: Add ambient temp state to thermostat trait (db56057)

2.7.0 (2022-02-14) #

Features #

  • devices_repository: introduce IsJammed state object (fc9da39)
  • query.fragment.graphql: query for isJammed state (e355515)

2.6.0 (2022-02-10) #

Bug Fixes #

  • Fix field on setting fan mode (370d44f)
  • Fix field on setting fan mode (8618b12)
  • Fix types for thermostat properties (3dc036f)
  • Make signatures match for setting fan mode (54431aa)
  • Make signatures match for setting fan mode (c9ee3d0)

Features #

  • devices_repository.dart: Return the fanMode state (37b80d5)
  • Add ability to get thermostat mode data from sdk (64ce71e)
  • Add available fan modes (c31934c)

2.5.0 (2022-01-25) #

Features #

  • devices_repository.dart: add support for LockTrait supportsIsJammed property (22041c6)

2.4.0 (2022-01-24) #

Bug Fixes #

  • Remove isToggle as it's not used in upcoming docs (3e05220)

Features #

  • Add support for Power Trait supportsDiscreteOnOff and supportsToggle properties (329009c)

2.3.0 (2022-01-05) #

Bug Fixes #

Features #

  • devices_repository.dart,devices_repository_test.dart: Add BatteryLevelTrait to repository (a12c0ba)

2.2.0 (2021-12-16) #

Bug Fixes #

  • devices_repository: add missing conversions for PowerTrait (f959476)

Features #

  • devices_repository: add Power Trait and IsOnOff State class (8d3a4cf)
  • devices_repository: convert Powertrait responses into PowerTrait (19f3ee6)

2.1.0 (2021-12-10) #

Bug Fixes #

Features #

  • added method to get device name and id (fbb8f68)
  • added power repo (bba701a)
  • adding queries for device detail page (c4173c3)
  • adding queries for device detail page (4c10502)

2.0.0 (2021-11-22) #

  • Merge pull request #43 from Yonomi/update/package (743e5fb), closes #43

BREAKING CHANGES #

  • update package

1.0.7 (2021-11-18) #

Bug Fixes #

  • yonomi-sdk.dart: export missing thermostat_repository.dart file (daeb854)

1.0.6 (2021-10-22) #

Bug Fixes #

  • added device detail and related tests (796fd58)
  • added more test for coverage (5624318)
  • added user repository test (1f04107)
  • flutter minimum version change (750a7d2)
  • link account test (5fe2171)
  • thermostat related tests (60d5f60)
  • updated repository methods to use gql_build classes (f2dc4e2)
  • upgrade flutter (57a66ac)

1.0.5 (2021-06-01) #

Bug Fixes #

  • DevicesRepository returns a device with fully-defined Lock trait (b327252)
  • make DevicesRepository.getDeviceDetails handle different Traits (1f8f296)
  • merge: fix merge conflicts (0625d88)

1.0.4 (2021-05-17) #

Bug Fixes #

  • cicd: changes on pipeline names (3ecdad5)
  • cicd: update build step to publish after semantic release (73f39f9)
  • cicd: update build step to publish after semantic release (802915c)

1.0.3 (2021-05-17) #

Bug Fixes #

  • semver: update gitstep to add another file (b4746ec)

1.0.2 (2021-05-11) #

Bug Fixes #

  • semver: update gitstep to add another file (b4746ec)

Bug Fixes #

  • publishing: Added meta to pass dry run (9315121)
  • publishing: Removed author as per publishing suggestion (14e1715)

1.0.1 (2021-05-11) #

Bug Fixes #

  • changelog: clean changelog (df70016)

1.0.0 (2021-05-06) #

4
likes
110
pub points
0%
popularity

Publisher

verified publisheryonomi.co

The Yonomi Platform SDK aims to lower the curve to getting an application connected to the Yonomi Platform and working with objects in the IoT domain.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

built_collection, built_value, dart_jsonwebtoken, dotenv, equatable, gql, gql_code_builder, gql_exec, gql_http_link, gql_link, http, meta, yaml

More

Packages that depend on yonomi_platform_sdk