Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierZal committed May 17, 2024
1 parent b13506f commit f6e3c02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { App } from 'homey'
import AristonAPI from '@olivierzal/ariston-api'
import { Settings as LuxonSettings } from 'luxon'

export = class AristonApp extends App {
export = class extends App {
public readonly aristonAPI = new AristonAPI(this.homey.settings, {
error: (...args): void => {
this.error(...args)
Expand Down
2 changes: 1 addition & 1 deletion drivers/nuos/driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type AristonApp from '../..'
import { Driver } from 'homey'
import type PairSession from 'homey/lib/PairSession'

export = class NuosDriver extends Driver {
export = class extends Driver {
readonly #aristonAPI = (this.homey.app as AristonApp).aristonAPI

readonly #deviceType = WheType.nuos
Expand Down

0 comments on commit f6e3c02

Please sign in to comment.