Python client for the Baby Tracker sync server, reverse engineered from the Android app (4.53), and a HACS-installable Home Assistant integration built on it. Each baby gets a log calendar and summary sensors, and actions add entries that sync back to the group. Reading has been run against the real server. Uploading and running inside real Home Assistant have not. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
157 lines
2.5 KiB
YAML
157 lines
2.5 KiB
YAML
.common: &common
|
|
baby:
|
|
selector:
|
|
device:
|
|
integration: babytracker
|
|
time:
|
|
selector:
|
|
datetime:
|
|
note:
|
|
selector:
|
|
text:
|
|
multiline: true
|
|
|
|
log_diaper:
|
|
fields:
|
|
<<: *common
|
|
status:
|
|
required: true
|
|
default: wet
|
|
selector:
|
|
select:
|
|
options: [wet, poopy, mixed, dry]
|
|
amount:
|
|
selector:
|
|
select:
|
|
options: [light, normal, heavy, overflow]
|
|
|
|
log_sleep:
|
|
fields:
|
|
<<: *common
|
|
duration:
|
|
required: true
|
|
selector:
|
|
number:
|
|
min: 0
|
|
max: 1440
|
|
unit_of_measurement: min
|
|
mode: box
|
|
|
|
log_bottle:
|
|
fields:
|
|
<<: *common
|
|
amount:
|
|
required: true
|
|
selector:
|
|
number:
|
|
min: 0
|
|
max: 2000
|
|
step: any
|
|
mode: box
|
|
kind:
|
|
default: formula
|
|
selector:
|
|
select:
|
|
options: [formula, pumped]
|
|
unit:
|
|
selector:
|
|
select:
|
|
options: [ml, oz]
|
|
|
|
log_nursing:
|
|
fields:
|
|
<<: *common
|
|
left_minutes:
|
|
selector:
|
|
number:
|
|
min: 0
|
|
max: 300
|
|
unit_of_measurement: min
|
|
mode: box
|
|
right_minutes:
|
|
selector:
|
|
number:
|
|
min: 0
|
|
max: 300
|
|
unit_of_measurement: min
|
|
mode: box
|
|
both_minutes:
|
|
selector:
|
|
number:
|
|
min: 0
|
|
max: 300
|
|
unit_of_measurement: min
|
|
mode: box
|
|
finish_side:
|
|
selector:
|
|
select:
|
|
options: [left, right]
|
|
|
|
log_temperature:
|
|
fields:
|
|
<<: *common
|
|
value:
|
|
required: true
|
|
selector:
|
|
number:
|
|
min: 0
|
|
max: 120
|
|
step: 0.1
|
|
mode: box
|
|
unit:
|
|
selector:
|
|
select:
|
|
options: ["C", "F"]
|
|
|
|
log_growth:
|
|
fields:
|
|
<<: *common
|
|
weight:
|
|
selector:
|
|
number:
|
|
min: 0
|
|
max: 200
|
|
step: any
|
|
mode: box
|
|
length:
|
|
selector:
|
|
number:
|
|
min: 0
|
|
max: 300
|
|
step: any
|
|
mode: box
|
|
head:
|
|
selector:
|
|
number:
|
|
min: 0
|
|
max: 100
|
|
step: any
|
|
mode: box
|
|
units:
|
|
selector:
|
|
select:
|
|
options: [metric, english]
|
|
|
|
log_bath:
|
|
fields:
|
|
<<: *common
|
|
|
|
log_joy:
|
|
fields:
|
|
<<: *common
|
|
|
|
log_journal:
|
|
fields:
|
|
baby:
|
|
selector:
|
|
device:
|
|
integration: babytracker
|
|
time:
|
|
selector:
|
|
datetime:
|
|
note:
|
|
required: true
|
|
selector:
|
|
text:
|
|
multiline: true
|