Skip to content

Commit

Permalink
Merge pull request #70 from drsgoodall/motionsensortemp
Browse files Browse the repository at this point in the history
Expose motion sensor temperature
  • Loading branch information
KJonline authored Dec 11, 2023
2 parents 62ade10 + 9276650 commit 269a84b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyhiveapi/apyhiveapi/helper/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"DOG_BARK": "self.session.hub.getDogBarkStatus(device)",
"GLASS_BREAK": "self.session.hub.getGlassBreakStatus(device)",
"Camera_Temp": "self.session.camera.getCameraTemperature(device)",
"Current_Temperature": "self.session.heating.getCurrentTemperature(device)",
"Heating_Current_Temperature": "self.session.heating.getCurrentTemperature(device)",
"Heating_Target_Temperature": "self.session.heating.getTargetTemperature(device)",
"Heating_State": "self.session.heating.getState(device)",
Expand Down Expand Up @@ -133,6 +134,7 @@
# ],
"motionsensor": [
'addList("binary_sensor", p)',
'addList("sensor", p, haName=" Current Temperature", hiveType="Current_Temperature", category="diagnostic")',
],
"contactsensor": ['addList("binary_sensor", p)'],
}
Expand Down

0 comments on commit 269a84b

Please sign in to comment.