Skip to content

Commit ad000d5

Browse files
committed
fix: add missing export on AttributeState
1 parent ba43ee4 commit ad000d5

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/forty-monkeys-sneeze.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@smartthings/core-sdk": patch
3+
---
4+
5+
add missing export on AttributeState

src/endpoint/devices.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -774,11 +774,11 @@ export interface DeviceList {
774774
_links: Links
775775
}
776776

777-
interface AttributeState {
777+
export interface AttributeState {
778778
value?: unknown
779779
unit?: string
780780
data?: { [name: string]: object }
781-
timestamp?: string // date-time ("Will always be 0 time-zone offset" whatever that means)
781+
timestamp?: string
782782
}
783783

784784
export interface CapabilityStatus {

0 commit comments

Comments
 (0)