]> git.basschouten.com Git - openhab-addons.git/commit
[ecobee] Fix issue with UTC and local dates (#14170)
authorMark Hilbush <mark@hilbush.com>
Sun, 8 Jan 2023 22:35:01 +0000 (17:35 -0500)
committerGitHub <noreply@github.com>
Sun, 8 Jan 2023 22:35:01 +0000 (23:35 +0100)
commit3ba37b431ac7ca4748cb3b4ea2435759c1fc788b
treeff134e535864c3212c841402ce4c8c8b77854b92
parent2c2097d6461efa805cbeb661902fa4611f5c8f10
[ecobee] Fix issue with UTC and local dates (#14170)

* Correctly handle UTC and local date/times
* Eliminate use of Date class

Signed-off-by: Mark Hilbush <mark@hilbush.com>
bundles/org.openhab.binding.ecobee/src/main/java/org/openhab/binding/ecobee/internal/EcobeeBindingConstants.java
bundles/org.openhab.binding.ecobee/src/main/java/org/openhab/binding/ecobee/internal/api/EcobeeApi.java
bundles/org.openhab.binding.ecobee/src/main/java/org/openhab/binding/ecobee/internal/dto/thermostat/InstantDeserializer.java [new file with mode: 0644]
bundles/org.openhab.binding.ecobee/src/main/java/org/openhab/binding/ecobee/internal/dto/thermostat/LocalDateTimeDeserializer.java [new file with mode: 0644]
bundles/org.openhab.binding.ecobee/src/main/java/org/openhab/binding/ecobee/internal/dto/thermostat/RuntimeDTO.java
bundles/org.openhab.binding.ecobee/src/main/java/org/openhab/binding/ecobee/internal/dto/thermostat/ThermostatDTO.java
bundles/org.openhab.binding.ecobee/src/main/java/org/openhab/binding/ecobee/internal/dto/thermostat/WeatherDTO.java
bundles/org.openhab.binding.ecobee/src/main/java/org/openhab/binding/ecobee/internal/dto/thermostat/WeatherForecastDTO.java
bundles/org.openhab.binding.ecobee/src/main/java/org/openhab/binding/ecobee/internal/handler/EcobeeThermostatBridgeHandler.java
bundles/org.openhab.binding.ecobee/src/main/java/org/openhab/binding/ecobee/internal/handler/EcobeeUtils.java