# Changelog

## [Unreleased](https://github.com/lpgera/dirigera/compare/v2.0.0...HEAD)

-

## [2.0.0](https://github.com/lpgera/dirigera/compare/v1.8.2...v2.0.0) - 2026-06-28

- Breaking: The package is now published as ESM only. Using with require from CommonJS modules is still possible with modern runtimes.
- Breaking: The minimum supported Node.js version is now 22.
- Update dependencies.

## [1.8.2](https://github.com/lpgera/dirigera/compare/v1.8.1...v1.8.2) - 2026-06-28

- Update dependencies.

## [1.8.1](https://github.com/lpgera/dirigera/compare/v1.8.0...v1.8.1) - 2026-06-02

- Update dependencies.
- Add stricter typing for currently active adaptiveProfile of lights.
- Update blinds documentation.

## [1.8.0](https://github.com/lpgera/dirigera/compare/v1.7.0...v1.8.0) - 2026-01-05

- Add BILRESA control mode changing endpoint.
- Fix Hub types.
- Fix Light types.
- Fix Scene types.
- Fix Music types.

## [1.7.0](https://github.com/lpgera/dirigera/compare/v1.6.0...v1.7.0) - 2025-12-27

- Add support for the BILRESA dual button remote, including blind and shortcut control modes.
- Add MYGGSPRAY occupancy sensor and light sensor support.

## [1.6.0](https://github.com/lpgera/dirigera/compare/v1.5.0...v1.6.0) - 2025-12-23

- Add TIMMERFLOTTE and ALPSTUGA environmentSensor support.
- Add support for genericSwitch device type and the BILRESA scroll wheel remote.

## [1.5.0](https://github.com/lpgera/dirigera/compare/v1.4.0...v1.5.0) - 2025-11-23

- Add new `remotePressEvent` event type with three supported click patterns: `singlePress`, `doublePress` and
  `longPress`. Currently, not all remotes support all three events.
- Add notice to `.setAttributes()` functions in docs about some attributes not being able to combined with each other.
- Update dependencies.

## [1.4.0](https://github.com/lpgera/dirigera/compare/v1.3.0...v1.4.0) - 2025-04-20

- Add support for BADRING water sensors by introducing the `client.waterSensors` API and the `WaterSensor` type
  including the `waterLeakDetected` attribute.
- Verify the HTTPS certificate of the hub for better security.

## [1.3.0](https://github.com/lpgera/dirigera/compare/v1.2.0...v1.3.0) - 2024-12-10

- Add startupOnOff startToggle mode for lights and outlets.
- Update dependencies.

## [1.2.0](https://github.com/lpgera/dirigera/compare/v1.1.0...v1.2.0) - 2024-10-20

- Add support for VALLHORN's light sensor functionality by introducing the `client.lightSensors` API and the
  `LightSensor` type, including the `illuminance` attribute.

## [1.1.0](https://github.com/lpgera/dirigera/compare/v1.0.0...v1.1.0) - 2024-10-02

- Add support for INSPELNING plug, including energy measurement attributes, child lock and status light toggle.

## [1.0.0](https://github.com/lpgera/dirigera/releases/tag/v1.0.0) - 2024-08-24

First stable release.
