Comments (6)
It works. Are any error in logs?
from smartir.
Got home now, and testet some. I got this error in the log:
2019-02-26 16:33:36 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/service.py", line 291, in _handle_service_platform_call
await func(entity, data)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/climate/__init__.py", line 576, in async_service_temperature_set
await entity.async_set_temperature(**kwargs)
File "/config/custom_components/smartir/climate.py", line 299, in async_set_temperature
await self.send_command()
File "/config/custom_components/smartir/climate.py", line 343, in send_command
command = self._commands[operation_mode][fan_mode][target_temperature]
KeyError: 'Heat'
But! I found out that Operation Mode was not set before, making it fail. If i set Operation Mode to Heat in front end, it works. I'll add the climate.set_operation_mode to the automation before the temperature_set to ensure it'll run, if operation_mode ever becomes unset again.
Thanks!
from smartir.
First of all, use heat instead of Heat.
The component ignores the operation_mode key in climate.set_temperature service.
You need to call climate.set_operation_mode service before or after the climate.set_temperature service
from smartir.
yeah, i just didn't choose an operation mode after installing the component, and did not set an operation mode when calling climate.set_temperature, just entity_id and temperature. But we are all good now:-)
from smartir.
Hello, please, could you help with setup.
I use SmartIR - UFO-R1 and Hisense. Hisense integrated with SmartIR using Tuya. I'd like to use your module. I did following:
-
Configuration yaml:
smartir:
update_branch: rc
climate: !include climates.yaml -
Climates.yaml:
- platform: smartir
name: Hisense Living Room
unique_id: hisense_living
device_code: 1522 # 1520, 1521, 1522
controller_data: 192.168.1.81
temperature_sensor: sensor.temperature
humidity_sensor: sensor.humidity
power_sensor: binary_sensor.ac_power
- Switches.yaml
- platform: broadlink
host: 192.168.1.81
mac: 'XX'
And have got following errors:
ERROR:
Unable to find service broadlink/send
Traceback (most recent call last):
File "/config/custom_components/smartir/climate.py", line 338, in send_command
self._commands[operation_mode][fan_mode][target_temperature])
File "/config/custom_components/smartir/controller.py", line 85, in send
'broadlink', 'send', service_data)
File "/usr/src/homeassistant/homeassistant/core.py", line 1212, in async_call
raise ServiceNotFound(domain, service) from None
homeassistant.exceptions.ServiceNotFound: Unable to find service broadlink/send
The second WARNING:
Platform broadlink not ready yet. Retrying in 60 seconds.
Thank you
from smartir.
Nothing to do with SmartIR.
You need to fix the broadlink switch until broadlink.send is available
from smartir.
Related Issues (20)
- Sometimes not work
- Depreciated Message
- Codes for Black & Decker BXAC40008GB
- Pioneer WT012ALFI19HLD works with code 2041
- Warning in HA Core HOT 3
- Media Player Entity won't show up.
- Use this fork from now HOT 1
- Help with creating a custom json for my fan
- Contributing climate codes file for Tadiran AC
- Updated or fixed codes for `1137` (Mistubishi MSZ-HR35VF) HOT 2
- LG AKB75075805 remote
- Why not upstream this integration?
- Warning log: 'Detected blocking call to open inside the event loop by custom integration 'smartir'' HOT 1
- support for hvac_action
- Warning after updating HA 2024.7
- Can't seem to get to integrate it with HA
- Home Assitant Logs show SmartIR is using deprecated constants HOT 3
- Home Assistant Logs show Magic number depreciation in use by SmartIR
- .json file for Mitsubishi Electric MSZ-WR24NA or remote MS16A
- Error adding repository to HA HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smartir.