Patrick Lapointe
Patrick Lapointe
You may be able to do this with [plapointe6/HaMqttConfigBuilder](https://github.com/plapointe6/HaMqttConfigBuilder) Here how: ```c++ // Publish this to: homeassistant/sensor/sensorBedroomT/config String generateConfigPayload1() { return HaMqttConfigBuilder() .add("device_class", "temperature") .add("name", "Temperature") .add("state_topic", "homeassistant/sensor/sensorBedroom/state") .add("unit_of_measurement", "°C")...
HaMqttConfigBuilder is simple and tiny. It is a tool to generate key/value pairs into a JSON string. HAMqttDevice does more things on its own under the hood like setting the...
Hello, Never put a "/" before the prefix. Doing this will not work: ```c++ HAMqttDevice light("My Nice Lamp", HAMqttDevice::LIGHT, "/homeassistant"); ... client.subscribe("/homeassistant/status", [] (const String &payload) ``` Doing this is...
If someone takes time to implement this, I will take the time to review and test. However, I don't think I will implement this by myself. I work on this...
Thanks a lot, I will take time to review this soon :)
If it's a wanted change between ef core 6 and 7, I would suggest a "breaking changes" entry on the ef core 6 to 7 migration documentation. Because this undocumented...
Thanks. The only downside of `PdfWrapper` is that it does not implements automatic font size depending of the content as `FormWrapper` do when the fields are correctly configured in the...
Only for multiline fields I think. Here is an exemple: ```python from PyPDFForm import PdfWrapper filled = PdfWrapper("report.pdf",).fill( { "301 What Happened": "Lorem ipsum dolor sit amet, consectetur adipiscing elit....
Great ! Thanks a lot.
It works. Thanks ! I found that if I set the `global_font_size`, it overrides the new adaptative font behavior though. Is the default font size used by `PdfWrapper` come from...