Git Product home page Git Product logo

Comments (7)

robsonfelix avatar robsonfelix commented on July 26, 2024

After adding "min" to Unit Of Measurement, the error still persists but the log changed slightly.

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:226
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 12:56:54 PM (1 occurrences)
Last logged: 12:56:54 PM

[140481934696640] 'IrrigationZone' object has no attribute 'run_time'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 226, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 2012, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2049, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 235, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 876, in entity_service_call
response_data = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 948, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/config/custom_components/irrigationprogram/switch.py", line 631, in async_turn_on
zones = await self.build_run_script(False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/irrigationprogram/switch.py", line 564, in build_run_script
zone.run_time(repeats=zone.repeat_value(),scheduled=self.scheduled)
^^^^^^^^^^^^^
AttributeError: 'IrrigationZone' object has no attribute 'run_time'

from irrigation-v5.

robsonfelix avatar robsonfelix commented on July 26, 2024

I had to roll back to 5.4.2. This is not working on newer versions.

from irrigation-v5.

petergridge avatar petergridge commented on July 26, 2024

Hi, I'm on holiday at the moment and won't be able to follow this up for another 3 weeks

from irrigation-v5.

petergridge avatar petergridge commented on July 26, 2024

Hi, Can you send me a screenshot of your configuration and any additional details of the objects you are using, hopefully I can recreate the issue in my dev environment

from irrigation-v5.

petergridge avatar petergridge commented on July 26, 2024

Hi I have found the problem will have a fix out shortly

from irrigation-v5.

petergridge avatar petergridge commented on July 26, 2024

Hi, V5.4.6 Beta fixes the problem introduced in my earlier beta, sorry about the problem.

Can you install and let me know if this resolves your problem and I will close this issue off.

Cheers
Pete

from irrigation-v5.

petergridge avatar petergridge commented on July 26, 2024

I have added some error handling to try and identify the problem in V5.4.14-alpha. You should see a message like "Could not find Program implementation 'switch.program_name', ignored" Hopefully this will let us track down the issue.

from irrigation-v5.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.