GaryMilne / Hubitat-Tasmota

Respository for Hubitat Tasmota Drivers
9 stars 9 forks source link

minor typo in syncTasmota on some drivers #1

Closed jimvanderveen closed 2 years ago

jimvanderveen commented 2 years ago

A few drivers refer to lastTasmotSync (cf lastTasmotaSync). I suspect this is a typo that got copy/pasted around.

grep lastTasmotSync *.groovy
Color_Bulb.groovy:        state.lastTasmotSync = new Date().format('yyyy-MM-dd HH:mm:ss')
Dimmer_Switch.groovy:        state.lastTasmotSync = new Date().format('yyyy-MM-dd HH:mm:ss')
Switch_with_Sensor.groovy:        state.lastTasmotSync = new Date().format('yyyy-MM-dd HH:mm:ss')
Universal_Multi_Sensor.groovy:        state.lastTasmotSync = new Date().format('yyyy-MM-dd HH:mm:ss')
sensor.groovy:        state.lastTasmotSync = new Date().format('yyyy-MM-dd HH:mm:ss')

Just creating an Issue to I have something to hang the PR on.