# Changelog

All notable changes to this project will be documented in this file.

## [3.0.2] - 2023-06-27

### Fixed
- Applied the same fix als last update to the identify button

### Changed
- Typings for Node-RED to latest version.


## [3.0.1] - 2023-06-27

### Added
- A way for fades to be cancelled when another fade starts

### Fixed
- Node-RED in HomeAssistant not fetching devices for dropdown menu.

## [3.0.0] - 2023-02-18

### Added

- Device removed node (Should have done this in v2.0.0, honestly)
- Device changed node
- Example flows in the examples folder
- An `Identify` button next to the device selector that will flash the light red green and blue.
- An option to change all devices at once
- Nodes in Node-RED now have examples of how to use the JSON input. (Came to mind thanks to [hoschult](https://github.com/Joery-M/Govee-LAN-Control/issues/4))

### Fixed

- Govee.updateAllDevices only updating the first device
- UDP Socket not reconnecting

### Changed

- The way you select devices in Node-RED. It now uses a dropdown menu. (Thanks to [Otávio Ribeiro](https://github.com/otaviojr) from the [Smartthings](https://github.com/otaviojr/node-red-contrib-smartthings) plugin for having open-source and easy to read code)
- How nodes access the Govee instance

## [2.1.0] - 2022-11-20

### Added

- Changelog (about time)
- Event types for all EventEmitter functions
- Debugging script called `dgramTest.js`, run it if you run in to issues with creating the socket.

### Fixed

- Ready event not being fired (Thanks [koningcool](https://github.com/Joery-M/Govee-LAN-Control/issues/2))
- Having to have a `Device Added` node in Node-red for the `Govee` instance to be created.
- `Set Color` node had a link to a documentation that was broken

### Changed

- `Govee.discover()` is no longer async since it didn't have to.
- The single paramater for `new Govee(param)` to be an object which will be able to

## [2.0.1] - 2022-10-10

### Added

- `node-red` keyword to `package.json` so I can upload it.

## [2.0.0] - 2022-10-10

### Added

- Node-RED support
- Links to [documentation](https://joery.com/govee-lan-control/)
- Descriptions for device actions
- Govee constructor option to disable discover on create

### Fixed

- Event type definitions now also work for `once`

## [1.1.0] - 2022-9-28

### Added

- Color temperature (Kelvin) support
- MIT License

### Changed

- Display name in package.json
- Fade command interval from 50ms to 10ms
- Readme.md

### Removed

- Device `setColorTemp` is now part of `setColor`

### Fixed

- Formatting

## [1.0.0] - 2022-9-27

- Initial release
