Have you looked at the Withings device for the bed? The following is a pretty new integration that eliminates IFTTT, which folks had been using.