Fix some issues for PyLint 1.7.2 (#8356)
* Fix some issues for PyLint 1.7.2 * More fixes * Revert position change for cover
This commit is contained in:
parent
83a5f932d1
commit
5779d64e98
66 changed files with 176 additions and 272 deletions
|
@ -42,8 +42,6 @@ def async_trigger(hass, config, action):
|
|||
},
|
||||
})
|
||||
|
||||
# Do something to call action
|
||||
if event == SUN_EVENT_SUNRISE:
|
||||
return async_track_sunrise(hass, call_action, offset)
|
||||
else:
|
||||
return async_track_sunset(hass, call_action, offset)
|
||||
return async_track_sunset(hass, call_action, offset)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue