File tree Expand file tree Collapse file tree 6 files changed +11
-11
lines changed Expand file tree Collapse file tree 6 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 11{
22 "sinope" : {
3- "version" : " 1.6.9 " ,
3+ "version" : " 1.7.0 " ,
44 "local_location" : " /custom_components/sinope/__init__.py" ,
55 "remote_location" : " https://github.com/claudegel/sinope-gt125/tree/master/custom_components/__init__.py" ,
66 "visit_repo" : " https://github.com/claudegel/sinope-gt125" ,
Original file line number Diff line number Diff line change 4343
4444#REQUIREMENTS = ['PY_Sinope==0.1.7']
4545REQUIREMENTS = ['crc8==0.1.0' ]
46- VERSION = '1.6.9 '
46+ VERSION = '1.7.0 '
4747
4848DATA_DOMAIN = 'data_' + DOMAIN
4949
Original file line number Diff line number Diff line change @@ -519,20 +519,20 @@ def extra_state_attributes(self):
519519 'wattage' : self ._wattage ,
520520 'wattage_override' : self ._wattage_override ,
521521 'server' : self ._server ,
522- 'id' : self ._id }
522+ 'id' : str ( self ._id ) }
523523
524524 @property
525525 def supported_features (self ):
526526 """Return the list of supported features."""
527527 return SUPPORT_FLAGS
528528
529529 @property
530- def min_temp (self ):
530+ def min_temp (self ) -> float :
531531 """Return the min temperature."""
532532 return self ._min_temp
533533
534534 @property
535- def max_temp (self ):
535+ def max_temp (self ) -> float :
536536 """Return the max temperature."""
537537 return self ._max_temp
538538
@@ -583,17 +583,17 @@ def hvac_modes(self):
583583 return SUPPORTED_HVAC_MODES
584584
585585 @property
586- def current_temperature (self ):
586+ def current_temperature (self ) -> float :
587587 """Return the current temperature."""
588588 return self ._cur_temp
589589
590590 @property
591- def target_temperature (self ):
591+ def target_temperature (self ) -> float :
592592 """Return the temperature we try to reach."""
593593 return self ._target_temp
594594
595595 @property
596- def outside_temperature (self ):
596+ def outside_temperature (self ) -> float :
597597 """Return the outside temperature we try to set."""
598598 return self ._outside_temperature
599599
Original file line number Diff line number Diff line change @@ -358,7 +358,7 @@ def device_info(self):
358358 "identifiers" : {(DOMAIN , self .unique_id )},
359359 "name" : self .name ,
360360 "manufacturer" : "Sinopé" ,
361- "device_id" : self ._id ,
361+ "device_id" : str ( self ._id ) ,
362362 }
363363
364364 @property
Original file line number Diff line number Diff line change 55 "dependencies" : [],
66 "codeowners" : [" @claudegel" ],
77 "requirements" : [" crc8==0.1.0" ],
8- "version" : " 1.6.9 "
8+ "version" : " 1.7.0 "
99}
Original file line number Diff line number Diff line change @@ -323,7 +323,7 @@ def extra_state_attributes(self):
323323 'event timer' : self ._event_timer ,
324324 'keypad' : self ._keypad ,
325325 'server' : self ._server ,
326- 'id' : self ._id ,
326+ 'id' : str ( self ._id ) ,
327327 }
328328
329329 @property
You can’t perform that action at this time.
0 commit comments