xZetsubou / ha-threedy-card

Home Assistant card to display 3D printer status and progress
15 stars 2 forks source link

ETA, Elapsed time and remaining time not working #10

Closed simphide closed 11 months ago

simphide commented 11 months ago

Hi, I wanted to report that the following fields are not properly displayed: image

This are the correct infos: image

Do you need any more information?

Thank you!

xZetsubou commented 11 months ago

It seems it works fine with me, can you post you card config yaml. Check the entities in OctoPrint integration are working fine and return correct values.

simphide commented 11 months ago

The yaml code is as follows:

type: custom:threedy-card
base_entity: sensor.octoprint
printer_type: I3
name: Anycubic
theme: Default
scale: 1
round_time: true
round_temperature: true
temperature_unit: C
use_24hr: true
power_entity: switch.anycubic_kobra_switch_switch
light_entity: light.hue_ambiance_candle_1
always_show: true
monitored:
  - Status
  - Hotend
  - Bed
  - ETA
  - Elapsed
  - Remaining

The entities return correct values as well (it is just unknown right now, because the 3d printer is turned off):

image
xZetsubou commented 11 months ago

Try remove round_time: true Edit: Disabling round time should fix Remaining and Elapsed. however it seems I made typo in last update and insert incorrect entity for ETA for base_entity case, so update 2.1.9 should fix ETA

simphide commented 11 months ago

Here we go!

image

Thank you!