Compare commits
	
		
			1 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| a1618bb18a | 
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -4,3 +4,4 @@ __pycache__/ | |||||||
| dist/ | dist/ | ||||||
| **/*.egg-info/ | **/*.egg-info/ | ||||||
| test* | test* | ||||||
|  | build/ | ||||||
|  | |||||||
| @ -6,7 +6,7 @@ | |||||||
| [](https://www.python.org/) | [](https://www.python.org/) | ||||||
| [](https://github.com/Andre0512/pyhOn/blob/main/LICENSE) | [](https://github.com/Andre0512/pyhOn/blob/main/LICENSE) | ||||||
| [](https://pypistats.org/packages/pyhon)   | [](https://pypistats.org/packages/pyhon)   | ||||||
| Control your Haier appliances with python! | Control your Haier, Candy and Hoover appliances with python! | ||||||
| The idea behind this library is, to make the use of all available commands as simple as possible. | The idea behind this library is, to make the use of all available commands as simple as possible. | ||||||
|  |  | ||||||
| ## Installation | ## Installation | ||||||
|  | |||||||
| @ -24,7 +24,7 @@ class HonAppliance: | |||||||
|         self._commands: Dict = {} |         self._commands: Dict = {} | ||||||
|         self._statistics: Dict = {} |         self._statistics: Dict = {} | ||||||
|         self._attributes: Dict = {} |         self._attributes: Dict = {} | ||||||
|         self._zone = zone |         self._zone: int = zone | ||||||
|  |  | ||||||
|         try: |         try: | ||||||
|             self._extra = importlib.import_module( |             self._extra = importlib.import_module( | ||||||
| @ -106,6 +106,10 @@ class HonAppliance: | |||||||
|     def info(self): |     def info(self): | ||||||
|         return self._info |         return self._info | ||||||
|  |  | ||||||
|  |     @property | ||||||
|  |     def zone(self) -> int: | ||||||
|  |         return self._zone | ||||||
|  |  | ||||||
|     async def _recover_last_command_states(self, commands): |     async def _recover_last_command_states(self, commands): | ||||||
|         command_history = await self._api.command_history(self) |         command_history = await self._api.command_history(self) | ||||||
|         for name, command in commands.items(): |         for name, command in commands.items(): | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								setup.py
									
									
									
									
									
								
							| @ -7,7 +7,7 @@ with open("README.md", "r") as f: | |||||||
|  |  | ||||||
| setup( | setup( | ||||||
|     name="pyhOn", |     name="pyhOn", | ||||||
|     version="0.8.0b3", |     version="0.8.0b4", | ||||||
|     author="Andre Basche", |     author="Andre Basche", | ||||||
|     description="Control hOn devices with python", |     description="Control hOn devices with python", | ||||||
|     long_description=long_description, |     long_description=long_description, | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	